Re: [PATCH] Revert "drm/amdgpu: validate user GEM object size"

2019-01-10 Thread Alex Deucher
On Thu, Jan 10, 2019 at 6:21 AM Michel Dänzer wrote: > > From: Michel Dänzer > > 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). > > Signed-off-by:

[PATCH] Revert "drm/amdgpu: validate user GEM object size"

2019-01-10 Thread Michel Dänzer
From: Michel Dänzer 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). Signed-off-by: Michel Dänzer --- drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 8