Commit cdf657fc authored by Dave Airlie's avatar Dave Airlie Committed by Alex Deucher

amdgpu: fix build on non-DCN platforms.

This fixes the build here locally on my 32-bit arm build.
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
(cherry picked from commit f439a959)
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent f732e2b3
...@@ -9689,8 +9689,6 @@ static int amdgpu_dm_atomic_check(struct drm_device *dev, ...@@ -9689,8 +9689,6 @@ static int amdgpu_dm_atomic_check(struct drm_device *dev,
struct drm_connector_state *old_con_state, *new_con_state; struct drm_connector_state *old_con_state, *new_con_state;
struct drm_crtc *crtc; struct drm_crtc *crtc;
struct drm_crtc_state *old_crtc_state, *new_crtc_state; struct drm_crtc_state *old_crtc_state, *new_crtc_state;
struct drm_dp_mst_topology_mgr *mgr;
struct drm_dp_mst_topology_state *mst_state;
struct drm_plane *plane; struct drm_plane *plane;
struct drm_plane_state *old_plane_state, *new_plane_state; struct drm_plane_state *old_plane_state, *new_plane_state;
enum dc_status status; enum dc_status status;
...@@ -9698,6 +9696,8 @@ static int amdgpu_dm_atomic_check(struct drm_device *dev, ...@@ -9698,6 +9696,8 @@ static int amdgpu_dm_atomic_check(struct drm_device *dev,
bool lock_and_validation_needed = false; bool lock_and_validation_needed = false;
struct dm_crtc_state *dm_old_crtc_state, *dm_new_crtc_state; struct dm_crtc_state *dm_old_crtc_state, *dm_new_crtc_state;
#if defined(CONFIG_DRM_AMD_DC_DCN) #if defined(CONFIG_DRM_AMD_DC_DCN)
struct drm_dp_mst_topology_mgr *mgr;
struct drm_dp_mst_topology_state *mst_state;
struct dsc_mst_fairness_vars vars[MAX_PIPES]; struct dsc_mst_fairness_vars vars[MAX_PIPES];
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment