diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2015-10-08 11:43:34 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-10-19 17:56:02 +0200 |
commit | 606bb5e0b28b540685fb94c22902cd9a948a3779 (patch) | |
tree | 8321a7197eec77ba9f55c8acb7c180235ca850e4 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
parent | c562657a75282afb00498ea82949ba7a9944ed15 (diff) |
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/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions