aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h
diff options
context:
space:
mode:
authorTianci.Yin <tianci.yin@amd.com>2020-11-06 14:56:35 +0800
committerAlex Deucher <alexander.deucher@amd.com>2020-11-10 14:24:30 -0500
commit8301f6b990ada8f5e9b23ed7d4a0d60b00d49238 (patch)
treedcac3f4481a0912577f36b6e33567358b5f26ad9 /drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h
parentdrm/amd/amdgpu: Import amdgpu_amdkfd_gfx_v9 header file into implementation (diff)
downloadlinux-rng-8301f6b990ada8f5e9b23ed7d4a0d60b00d49238.tar.xz
linux-rng-8301f6b990ada8f5e9b23ed7d4a0d60b00d49238.zip
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/gpu/drm/amd/display/dc/inc/hw/hw_shared.h')
0 files changed, 0 insertions, 0 deletions