Skip to content

Commit 8547534

Browse files
ck_zhangCK Zhang
authored andcommitted
hdmi: disable 4K60Hz
refine follow patch, 6d18cbc drm/rockchip: remove hdmi 4k@50hz/60hz mode rate Remove hdmi 4k@50hz/60hz till we pass VD and EMI testing. To return out of range if clk is 594M to disable 4K60hz. Change-Id: I13531ce35f00f2b43f23cc6304012c2958f6855f
1 parent 4de83ea commit 8547534

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

drivers/gpu/drm/rockchip/rockchip_drm_vop.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1494,6 +1494,9 @@ vop_crtc_mode_valid(struct drm_crtc *crtc, const struct drm_display_mode *mode,
14941494
const struct vop_data *vop_data = vop->data;
14951495
int clock;
14961496

1497+
if (mode->clock >= 594000)
1498+
return MODE_CLOCK_RANGE;
1499+
14971500
if (mode->hdisplay > vop_data->max_disably_output.width)
14981501
return MODE_BAD_HVALUE;
14991502
if (mode->vdisplay > vop_data->max_disably_output.height)

0 commit comments

Comments
 (0)