]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: set the contiguous flag if possible
authorChristian König <christian.koenig@amd.com>
Tue, 27 Apr 2021 09:17:59 +0000 (11:17 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 May 2021 02:32:14 +0000 (22:32 -0400)
commit49eb466ad24987a7091cabf05d3c9fe915964d37
treec5aed0a9f84d6ad876676bccd4e6e92fa646c0c0
parent62f73b073e3ef8a9c2a620368a71e6a64f0abc85
drm/amdgpu: set the contiguous flag if possible

This avoids reallocating scanout BOs on first pin in a lot of cases.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Felix Kuehling <Felix.Kuehling@amd.com>
Tested-by: Nirmoy Das <nirmoy.das@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c