Skip to content

Commit f439a95

Browse files
committed
amdgpu: fix build on non-DCN platforms.
This fixes the build here locally on my 32-bit arm build. Signed-off-by: Dave Airlie <[email protected]>
1 parent 1d65bd6 commit f439a95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9497,15 +9497,15 @@ static int amdgpu_dm_atomic_check(struct drm_device *dev,
94979497
struct drm_connector_state *old_con_state, *new_con_state;
94989498
struct drm_crtc *crtc;
94999499
struct drm_crtc_state *old_crtc_state, *new_crtc_state;
9500-
struct drm_dp_mst_topology_mgr *mgr;
9501-
struct drm_dp_mst_topology_state *mst_state;
95029500
struct drm_plane *plane;
95039501
struct drm_plane_state *old_plane_state, *new_plane_state;
95049502
enum dc_status status;
95059503
int ret, i;
95069504
bool lock_and_validation_needed = false;
95079505
struct dm_crtc_state *dm_old_crtc_state, *dm_new_crtc_state;
95089506
#if defined(CONFIG_DRM_AMD_DC_DCN)
9507+
struct drm_dp_mst_topology_mgr *mgr;
9508+
struct drm_dp_mst_topology_state *mst_state;
95099509
struct dsc_mst_fairness_vars vars[MAX_PIPES];
95109510
#endif
95119511

0 commit comments

Comments
 (0)