Skip to content

Commit cdf657f

Browse files
airliedalexdeucher
authored andcommitted
amdgpu: fix build on non-DCN platforms.
This fixes the build here locally on my 32-bit arm build. Signed-off-by: Dave Airlie <airlied@redhat.com> (cherry picked from commit f439a95) Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent f732e2b commit cdf657f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9689,15 +9689,15 @@ static int amdgpu_dm_atomic_check(struct drm_device *dev,
96899689
struct drm_connector_state *old_con_state, *new_con_state;
96909690
struct drm_crtc *crtc;
96919691
struct drm_crtc_state *old_crtc_state, *new_crtc_state;
9692-
struct drm_dp_mst_topology_mgr *mgr;
9693-
struct drm_dp_mst_topology_state *mst_state;
96949692
struct drm_plane *plane;
96959693
struct drm_plane_state *old_plane_state, *new_plane_state;
96969694
enum dc_status status;
96979695
int ret, i;
96989696
bool lock_and_validation_needed = false;
96999697
struct dm_crtc_state *dm_old_crtc_state, *dm_new_crtc_state;
97009698
#if defined(CONFIG_DRM_AMD_DC_DCN)
9699+
struct drm_dp_mst_topology_mgr *mgr;
9700+
struct drm_dp_mst_topology_state *mst_state;
97019701
struct dsc_mst_fairness_vars vars[MAX_PIPES];
97029702
#endif
97039703

0 commit comments

Comments
 (0)