mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 02:30:52 +07:00
drm/amdgpu/soc15: enable dc on vega10
Add the DC display module to drive the DCE12 IP on vega10. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
8fa9ca2ec6
commit
ab587d4a65
@ -535,6 +535,12 @@ int soc15_set_ip_blocks(struct amdgpu_device *adev)
|
|||||||
amdgpu_ip_block_add(adev, &amdgpu_pp_ip_block);
|
amdgpu_ip_block_add(adev, &amdgpu_pp_ip_block);
|
||||||
if (adev->enable_virtual_display || amdgpu_sriov_vf(adev))
|
if (adev->enable_virtual_display || amdgpu_sriov_vf(adev))
|
||||||
amdgpu_ip_block_add(adev, &dce_virtual_ip_block);
|
amdgpu_ip_block_add(adev, &dce_virtual_ip_block);
|
||||||
|
#if defined(CONFIG_DRM_AMD_DC)
|
||||||
|
else if (amdgpu_device_has_dc_support(adev))
|
||||||
|
amdgpu_ip_block_add(adev, &dm_ip_block);
|
||||||
|
#else
|
||||||
|
# warning "Enable CONFIG_DRM_AMD_DC for display support on SOC15."
|
||||||
|
#endif
|
||||||
amdgpu_ip_block_add(adev, &gfx_v9_0_ip_block);
|
amdgpu_ip_block_add(adev, &gfx_v9_0_ip_block);
|
||||||
amdgpu_ip_block_add(adev, &sdma_v4_0_ip_block);
|
amdgpu_ip_block_add(adev, &sdma_v4_0_ip_block);
|
||||||
amdgpu_ip_block_add(adev, &uvd_v7_0_ip_block);
|
amdgpu_ip_block_add(adev, &uvd_v7_0_ip_block);
|
||||||
|
Loading…
Reference in New Issue
Block a user