summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
diff options
context:
space:
mode:
authorArunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>2024-08-05 19:17:04 +0530
committerAlex Deucher <alexander.deucher@amd.com>2024-08-06 11:11:03 -0400
commit46142cc1b9272d664e0258e105b537735bfeeccc (patch)
treee87c6302269ecacccb040ca91daff24411e70306 /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
parent92549780e32718d64a6d08bbbb3c6fffecb541c7 (diff)
downloadlinux-46142cc1b9272d664e0258e105b537735bfeeccc.tar.gz
linux-46142cc1b9272d664e0258e105b537735bfeeccc.tar.bz2
linux-46142cc1b9272d664e0258e105b537735bfeeccc.zip
drm/amdgpu: Add DCC GFX12 flag to enable address alignment
We require this flag AMDGPU_GEM_CREATE_GFX12_DCC or any other kernel level GFX12 DCC flag to differentiate the DCC buffers and other pinned display buffers(which has TTM_PL_FLAG_CONTIGUOUS enabled). If we use the TTM_PL_FLAG_CONTIGUOUS flag for DCC buffers, we may over allocate for all the pinned display buffers unnecessarily that leads to memory allocation failure. Signed-off-by: Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c')
0 files changed, 0 insertions, 0 deletions