aboutsummaryrefslogtreecommitdiffstats
path: root/lib/assoc_array.c
diff options
context:
space:
mode:
authorTianci.Yin <[email protected]>2020-11-06 06:56:35 +0000
committerAlex Deucher <[email protected]>2020-11-13 05:30:05 +0000
commit38a2509184952f799d465b26279ef1bd36fb8277 (patch)
tree7c5b55e70f62e7eb1e807c2239c81e9d1debd140 /lib/assoc_array.c
parentdrm/amdgpu: add ta firmware load for green-sardine (diff)
downloadkernel-38a2509184952f799d465b26279ef1bd36fb8277.tar.gz
kernel-38a2509184952f799d465b26279ef1bd36fb8277.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 <[email protected]> Reviewed-by: Guchun Chen <[email protected]> Signed-off-by: Tianci.Yin <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'lib/assoc_array.c')
0 files changed, 0 insertions, 0 deletions