Commit 13524856 authored by Roman Li's avatar Roman Li Committed by Alex Deucher

drm/amd/display: setup system context for APUs

[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.
Signed-off-by: default avatarRoman Li <roman.li@amd.com>
Reviewed-by: default avatarNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 5cd5f007
...@@ -1093,7 +1093,7 @@ static int amdgpu_dm_init(struct amdgpu_device *adev) ...@@ -1093,7 +1093,7 @@ static int amdgpu_dm_init(struct amdgpu_device *adev)
dc_hardware_init(adev->dm.dc); dc_hardware_init(adev->dm.dc);
#if defined(CONFIG_DRM_AMD_DC_DCN) #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; struct dc_phy_addr_space_config pa_config;
mmhub_read_system_context(adev, &pa_config); mmhub_read_system_context(adev, &pa_config);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment