diff options
author | Yifan Zhang <yifan1.zhang@amd.com> | 2020-07-17 16:28:46 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-10-16 14:43:38 -0400 |
commit | f0c746ce07c8df0d5b5582a87b0baf238ab49d27 (patch) | |
tree | e6e356e8e3a05ee2f7a32b04a5d51b15314a7229 | |
parent | c0fb85ae02b62bded71110f44e8b0fe34f11260f (diff) | |
download | linux-f0c746ce07c8df0d5b5582a87b0baf238ab49d27.tar.bz2 |
drm/amd/display: add S/G support for Renoir
S/G (scatter/gather) display support for display
buffers in system memory.
Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c index 7cc7af2a6822..21da253d8edf 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c @@ -528,6 +528,10 @@ uint32_t amdgpu_display_supported_domains(struct amdgpu_device *adev, (adev->apu_flags & AMD_APU_IS_PICASSO)) domain |= AMDGPU_GEM_DOMAIN_GTT; break; + case CHIP_RENOIR: + domain |= AMDGPU_GEM_DOMAIN_GTT; + break; + default: break; } |