[PATCH 2/2] drm/amdgpu: enable S/G display for renoir
Alex Deucher
alexdeucher at gmail.com
Tue Jan 7 21:13:20 UTC 2020
Everything is in place so go ahead and enable this for
renoir.
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
I don't have a renoir board handy. Can someone test this?
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 1 +
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
index 6d520a3eec40..318605ca9bc3 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
@@ -519,6 +519,7 @@ uint32_t amdgpu_display_supported_domains(struct amdgpu_device *adev,
switch (adev->asic_type) {
case CHIP_CARRIZO:
case CHIP_STONEY:
+ case CHIP_RENOIR:
domain |= AMDGPU_GEM_DOMAIN_GTT;
break;
case CHIP_RAVEN:
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
index 05118c8860f9..3be7ab0ce9e3 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
@@ -909,6 +909,7 @@ static int amdgpu_dm_init(struct amdgpu_device *adev)
switch (adev->asic_type) {
case CHIP_CARRIZO:
case CHIP_STONEY:
+ case CHIP_RENOIR:
init_data.flags.gpu_vm_support = true;
break;
case CHIP_RAVEN:
--
2.24.1
More information about the amd-gfx
mailing list