diff options
| author | Ville Syrjälä <[email protected]> | 2018-06-15 17:44:06 +0000 |
|---|---|---|
| committer | Ville Syrjälä <[email protected]> | 2018-06-19 14:18:24 +0000 |
| commit | ad193bc6206d3ee2fc39fe29a2525333faf1afd9 (patch) | |
| tree | b63227be649abfabe32d4daa6a9b474d27d0d2d3 /drivers/gpu/drm/amd/amdgpu/amdgpu_test.c | |
| parent | drm/i915: Check timings against hardware maximums (diff) | |
| download | kernel-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
