diff options
author | Tianci.Yin <tianci.yin@amd.com> | 2020-11-06 14:56:35 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-11-13 00:30:05 -0500 |
commit | 38a2509184952f799d465b26279ef1bd36fb8277 (patch) | |
tree | 7c5b55e70f62e7eb1e807c2239c81e9d1debd140 /drivers/pci/controller/dwc | |
parent | 266421925574f91bf9d373128f38771c565f107a (diff) |
drm/amdgpu: enable DCN for navi10 headless SKU
There is a NULL pointer crash when DCN disabled on headless SKU.
On normal SKU, the variable adev->ddev.mode_config.funcs is
initialized in dm_hw_init(), and it is fine to access it in
amdgpu_device_resume(). But on headless SKU, DCN is disabled,
the funcs variable is not initialized, then crash arises.
Enable DCN to fix this issue.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Tianci.Yin <tianci.yin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/pci/controller/dwc')
0 files changed, 0 insertions, 0 deletions