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:05 +0000
committerVille Syrjälä <[email protected]>2018-06-19 14:18:24 +0000
commitad77c537eab1c28732e02c03f3da82917722bef6 (patch)
tree9a9c8965f94d7c4ff948caa2f79f21d1bfd207b6 /drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
parentdrm/i915: Nuke the cursor size defines (diff)
downloadkernel-ad77c537eab1c28732e02c03f3da82917722bef6.tar.gz
kernel-ad77c537eab1c28732e02c03f3da82917722bef6.zip
drm/i915: Check timings against hardware maximums
Validate that all display timings fit within the number of bits we have in the transcoder timing registers. The limits are: hsw+: 4k: vdisplay, vblank_start 8k: everything else gen3+: 4k: h/vdisplay, h/vblank_start 8k: everything else gen2: 2k: h/vdisplay, h/vblank_start 4k: everything else Also document the fact that the mode_config.max_width/height limits refer to just the max framebuffer dimensions we support. Which may be larger than the max hdisplay/vdisplay. 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