Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+2 -2
+2 -2
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
··· 9497 9497 struct drm_connector_state *old_con_state, *new_con_state; 9498 9498 struct drm_crtc *crtc; 9499 9499 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; 9502 9500 struct drm_plane *plane; 9503 9501 struct drm_plane_state *old_plane_state, *new_plane_state; 9504 9502 enum dc_status status; ··· 9504 9506 bool lock_and_validation_needed = false; 9505 9507 struct dm_crtc_state *dm_old_crtc_state, *dm_new_crtc_state; 9506 9508 #if defined(CONFIG_DRM_AMD_DC_DCN) 9509 + struct drm_dp_mst_topology_mgr *mgr; 9510 + struct drm_dp_mst_topology_state *mst_state; 9507 9511 struct dsc_mst_fairness_vars vars[MAX_PIPES]; 9508 9512 #endif 9509 9513