diff options
| author | Ville Syrjälä <[email protected]> | 2015-10-08 08:43:34 +0000 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2015-10-19 15:56:02 +0000 |
| commit | 606bb5e0b28b540685fb94c22902cd9a948a3779 (patch) | |
| tree | 8321a7197eec77ba9f55c8acb7c180235ca850e4 /drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | |
| parent | drm/i915: Kill the leftover RMW from ivb_sprite_disable() (diff) | |
| download | kernel-606bb5e0b28b540685fb94c22902cd9a948a3779.tar.gz kernel-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 <[email protected]>
Cc: Libin Yang <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
Reviewed-by: Adam Jackson <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_display.c')
0 files changed, 0 insertions, 0 deletions
