drm/i915: Double the port clock when using double clocked modes with 12bpc
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 5 May 2015 14:06:27 +0000 (17:06 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 15 Jun 2015 09:36:40 +0000 (11:36 +0200)
commit3320e37f7ac1f4df90268f204fef490dacee7ca0
tree5b96c0faca3ccd03c11ad50444cdb2c0d3f9ad3b
parentbe69a1335fceb706e19f7eaf8d34c9a721c5baf9
drm/i915: Double the port clock when using double clocked modes with 12bpc

Currently we're forgetting to double the port clock when using double
clocked modes with 12bpc on HDMI. We're only accounting for the 1.5x
factor due to the 12bpc. So further double the 1.5x port clock when we
have a double clocked mode.

Unfortunately I don't have any displays that support both 12bpc and
double clocked modes, so I was unable to test this.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chandra Konduru <Chandra.konduru@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_hdmi.c