aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2021-03-19 02:15:06 +0000
committerAlex Deucher <[email protected]>2021-03-24 03:37:27 +0000
commitc645e4b80c97adae029e655eccd26644b958f4b6 (patch)
tree63029de9edb4b8b5b22b3a5d75a599892958448d /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
parentdrm/amd/display: Remove unnecessary conversion to bool (diff)
downloadkernel-c645e4b80c97adae029e655eccd26644b958f4b6.tar.gz
kernel-c645e4b80c97adae029e655eccd26644b958f4b6.zip
drm/amdgpu/display: properly guard dc_dsc_stream_bandwidth_in_kbps
Move the function protoype to the right header and guard the call with CONFIG_DRM_AMD_DC_DCN as DSC is only available with DCN. Fixes: 8c2f14c36f47ce ("drm/amd/display: Add changes for dsc bpp in 16ths and unify bw calculations") Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: Dillon Varone <[email protected]> Cc: Stephen Rothwell <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions