Actually vop hardware has no output height limit, so no
need limit display with max_output.height
Change-Id: Ide70cb28af9a23c1a12c068168b13aac37041b28
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
if (mode->hdisplay > vop_data->max_output.width)
return MODE_BAD_HVALUE;
- if (mode->vdisplay > vop_data->max_output.height)
- return MODE_BAD_VVALUE;
if (mode->flags & DRM_MODE_FLAG_DBLCLK)
request_clock *= 2;
struct vop *vop = to_vop(crtc);
const struct vop_data *vop_data = vop->data;
- if (mode->hdisplay > vop_data->max_output.width ||
- mode->vdisplay > vop_data->max_output.height)
+ if (mode->hdisplay > vop_data->max_output.width)
return false;
drm_mode_set_crtcinfo(adj_mode,