aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2018-06-15 17:44:06 +0000
committerVille Syrjälä <[email protected]>2018-06-19 14:18:24 +0000
commitad193bc6206d3ee2fc39fe29a2525333faf1afd9 (patch)
treeb63227be649abfabe32d4daa6a9b474d27d0d2d3 /drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
parentdrm/i915: Check timings against hardware maximums (diff)
downloadkernel-ad193bc6206d3ee2fc39fe29a2525333faf1afd9.tar.gz
kernel-ad193bc6206d3ee2fc39fe29a2525333faf1afd9.zip
drm/i915: Enforce max hdisplay/hblank_start limits on HSW/BDW FDI
The PCH transcoder registers are only 12 bits wide for the hdisplay and hblank_start values. On HSW/BDW the CPU side registers are 13 bits wide. intel_mode_valid() only checks against the higher limit (since we don't know where the mode is to be used), so an extra check is required against the FDI limits. Signed-off-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Paulo Zanoni <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_test.c')
0 files changed, 0 insertions, 0 deletions