From: Dave Airlie Date: Tue, 20 Dec 2011 11:44:30 +0000 (+0000) Subject: drm/radeon/kms: don't use 0 bpc for adjusting hdmi clock X-Git-Tag: v3.3-rc1~121^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06e4cd64174b48345cbd99179b780a2bf4f96ab6;p=pandora-kernel.git 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 Signed-off-by: Dave Airlie --- Reading git-diff-tree failed