summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_crtc_helper.c
diff options
context:
space:
mode:
authorDave Airlie2011-12-20 12:44:30 +0100
committerDave Airlie2011-12-20 20:58:27 +0100
commit06e4cd64174b48345cbd99179b780a2bf4f96ab6 (patch)
tree45e6614b7842ba1d020780999a0e31d48b7e242d /drivers/gpu/drm/drm_crtc_helper.c
parentMerge branch 'drm-radeon-next' of ../drm-radeon-next into drm-core-next (diff)
downloadkernel-qcow2-linux-06e4cd64174b48345cbd99179b780a2bf4f96ab6.tar.gz
kernel-qcow2-linux-06e4cd64174b48345cbd99179b780a2bf4f96ab6.tar.xz
kernel-qcow2-linux-06e4cd64174b48345cbd99179b780a2bf4f96ab6.zip
drm/radeon/kms: don't use 0 bpc for adjusting hdmi clock
If the bpc is set from the connector is 0, we then use it later to adjust in a special case the HDMI pixel clock, however if the bpc is 0, we end up passing a 0 pixel clock into the code. I'm not sure if this is the correct answer or if we should avoid the HDMI clock adjustment for 0 values. This fixes a divide by 0 on my Llano system with a HDMI monitor and hdmi audio enabled. Reviewed-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_crtc_helper.c')
0 files changed, 0 insertions, 0 deletions