]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "drm/amdgpu: validate user GEM object size"
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 10 Jan 2019 11:16:57 +0000 (12:16 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Jan 2019 16:14:21 +0000 (11:14 -0500)
commit44797d96c501cc70a30a39a04164c930e95b913a
tree98a9db512fe118d6502550ae15580b6057ee4ed8
parent1caee8693c4aadd58a9f374e34e6890ade6c8fc8
Revert "drm/amdgpu: validate user GEM object size"

It was at the same time too strict (for linear tiling modes, where no
height alignment is required) and too lenient (for 2D tiling modes,
where height may need to be aligned to values > 8).

Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c