linux/drivers/gpu/drm/amd
Julian Parkin 8897810adf drm/amd/display: Fix dc_create failure handling and 666 color depths
[Why]
It is possible (but very unlikely) that constructing dc fails
before current_state is created.

We support 666 color depth in some scenarios, but this
isn't handled in get_norm_pix_clk. It uses exactly the
same pixel clock as the 888 case.

[How]
Check for non null current_state before destructing.

Add case for 666 color depth to get_norm_pix_clk to
avoid assertion.

Signed-off-by: Julian Parkin <julian.parkin@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-07-18 14:27:26 -05:00
..
acp treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
amdgpu drm/amdgpu: use VCN firmware offset for cache window 2019-07-18 14:18:07 -05:00
amdkfd drm/amdkfd: Increase vcrat size for GPU 2019-07-18 14:18:07 -05:00
display drm/amd/display: Fix dc_create failure handling and 666 color depths 2019-07-18 14:27:26 -05:00
include drm/amdgpu: exposing fica registers to df offsets 2019-07-18 14:18:07 -05:00
powerplay drm/amd/powerplay: change sysfs pp_dpm_xxx format for navi10 2019-07-18 14:18:07 -05:00