mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
drm/rockchip: vop: fliter interlace mode
rk3288 and rk3368 are not support interlace mode Change-Id: I5b6c155095285a5ae6e574efba122b56ddb1a112 Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
This commit is contained in:
parent
f7169a90bc
commit
bccd5ee2bd
|
|
@ -1592,6 +1592,11 @@ vop_crtc_mode_valid(struct drm_crtc *crtc, const struct drm_display_mode *mode,
|
|||
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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user