summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_irq.c
diff options
context:
space:
mode:
authorVille Syrjälä2015-10-08 10:43:34 +0200
committerDaniel Vetter2015-10-19 17:56:02 +0200
commit606bb5e0b28b540685fb94c22902cd9a948a3779 (patch)
tree8321a7197eec77ba9f55c8acb7c180235ca850e4 /drivers/gpu/drm/i915/i915_irq.c
parentdrm/i915: Kill the leftover RMW from ivb_sprite_disable() (diff)
downloadkernel-qcow2-linux-606bb5e0b28b540685fb94c22902cd9a948a3779.tar.gz
kernel-qcow2-linux-606bb5e0b28b540685fb94c22902cd9a948a3779.tar.xz
kernel-qcow2-linux-606bb5e0b28b540685fb94c22902cd9a948a3779.zip
drm/i915: Use round to closest when computing the CEA 1.001 pixel clocks
drm_edid.c now computes the alternate CEA clocks using DIV_ROUND_CLOSEST(), so follow suit in the N/CTS setup to make sure we pick the right setting for the mode. Unfortunately we can't actually use DIV_ROUND_CLOSEST() here due to the ({}) construct used, so just stick in raw numbers instead. Cc: Clint Taylor <clinton.a.taylor@intel.com> Cc: Libin Yang <libin.yang@intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_irq.c')
0 files changed, 0 insertions, 0 deletions