Searched hist:"06 e4cd64" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | atombios_crtc.c | 06e4cd64 Tue Dec 20 05:44:30 CST 2011 Dave Airlie <airlied@redhat.com> 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> 06e4cd64 Tue Dec 20 05:44:30 CST 2011 Dave Airlie <airlied@redhat.com> 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>
|