rk3288 and rk3368 are not support interlace mode
Change-Id: I5b6c155095285a5ae6e574efba122b56ddb1a112
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
if (mode->hdisplay > vop_data->max_output.width)
return MODE_BAD_HVALUE;
+ if ((mode->flags & DRM_MODE_FLAG_INTERLACE) &&
+ VOP_MAJOR(vop->data->version) == 3 &&
+ VOP_MINOR(vop->data->version) <= 2)
+ return MODE_BAD;
+
if (mode->flags & DRM_MODE_FLAG_DBLCLK)
request_clock *= 2;
clock = clk_round_rate(vop->dclk, request_clock * 1000) / 1000;