diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2020-01-07 23:04:04 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-01-09 18:07:48 -0500 |
commit | d9fe1a4c560b70547e3f47520310f6d57d4d1626 (patch) | |
tree | f4bb82e8c008010fac1bed5a022eb2fb3824f76e /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.h | |
parent | drm: add dp helper to initialize remote aux channel. (diff) | |
download | linux-dev-d9fe1a4c560b70547e3f47520310f6d57d4d1626.tar.xz linux-dev-d9fe1a4c560b70547e3f47520310f6d57d4d1626.zip |
drm/amdgpu/display: protect new DSC code with CONFIG_DRM_AMD_DC_DCN
Otherwise we get undefined symbols.
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.h')
-rw-r--r-- | drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.h b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.h index d451ce9cecc0..d6813ce67bbd 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.h +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.h @@ -34,7 +34,9 @@ int dm_mst_get_pbn_divider(struct dc_link *link); void amdgpu_dm_initialize_dp_connector(struct amdgpu_display_manager *dm, struct amdgpu_dm_connector *aconnector); - +#if defined(CONFIG_DRM_AMD_DC_DCN) bool compute_mst_dsc_configs_for_state(struct drm_atomic_state *state, struct dc_state *dc_state); #endif + +#endif |