Skip to content
Snippets Groups Projects
Commit 3282f760 authored by Alex Deucher's avatar Alex Deucher
Browse files

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: a03f6c0e ("drm/amd/display: Add changes for dsc bpp in 16ths and unify bw calculations")
Reviewed-by: default avatarHarry Wentland <harry.wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Cc: Dillon Varone <dillon.varone@amd.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
parent 5c17ac21
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment