drm/amd/display: setup system context for APUs
Subsystems (3)
PATCH 1/2 drm/amd/display: setup system context for APUs
From: Roman Li <[email protected]>
[Why]
Scatter/gather is APU feature.
But in dm it is limited only to Renoir.
Now we need it for Vangogh.
[How]
Apply system context setup in dm_init to all APUs.
--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +1 -1
@@ -1093,7 +1093,7 @@ static int amdgpu_dm_init(struct amdgpu_device *adev)dc_hardware_init (adev->dm.dc);#if defined(CONFIG_DRM_AMD_DC_DCN ) -if (adev->asic_type ==CHIP_RENOIR ) { +if (adev->apu_flags) {struct dc_phy_addr_space_config pa_config;mmhub_read_system_context (adev, &pa_config);
Signature · 6 lines
2.17.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
PATCH 2/2 drm/amd/display: add S/G support for Vangogh
From: Roman Li <[email protected]>
[Why]
Scatter/gather feature is supported on Vangogh.
[How]
Add GTT domain support for Vangogh to enable
display buffers in system memory.
--- drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c +1 -0
@@ -526,6 +526,7 @@ uint32_t amdgpu_display_supported_domains(struct amdgpu_device *adev, domain |=AMDGPU_GEM_DOMAIN_GTT ;break ;case CHIP_RENOIR : +case CHIP_VANGOGH : domain |=AMDGPU_GEM_DOMAIN_GTT ;break ;
Signature · 6 lines
2.17.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Re: [PATCH 2/2] drm/amd/display: add S/G support for Vangogh
Quoted 10 lines · On 2020-12-07 3:03 p.m., [email protected] wrote:
From: Roman Li <[email protected]>
[Why]
Scatter/gather feature is supported on Vangogh.[How]
Add GTT domain support for Vangogh to enable
display buffers in system memory.Signed-off-by Roman Li <[email protected]>
Series is:
Regards,
Nicholas Kazlauskas
Quoted 10 lines
--- drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/amd/amdgpu/amdgpu_display.c +0
-0
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c uint32_t amdgpu_display_supported_domains(struct amdgpu_device *adev, · line 532
Quoted 7 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c +1
-0@@ -526,6 +526,7 @@ uint32_t amdgpu_display_supported_domains(struct amdgpu_device *adev, domain |=AMDGPU_GEM_DOMAIN_GTT ;break ;case CHIP_RENOIR : +case CHIP_VANGOGH : domain |=AMDGPU_GEM_DOMAIN_GTT ;break ;
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx