|
@@ -312,7 +312,7 @@ static void tegra_crtc_disable(struct drm_crtc *crtc)
|
|
struct drm_device *drm = crtc->dev;
|
|
struct drm_device *drm = crtc->dev;
|
|
struct drm_plane *plane;
|
|
struct drm_plane *plane;
|
|
|
|
|
|
- list_for_each_entry(plane, &drm->mode_config.plane_list, head) {
|
|
|
|
|
|
+ drm_for_each_legacy_plane(plane, &drm->mode_config.plane_list) {
|
|
if (plane->crtc == crtc) {
|
|
if (plane->crtc == crtc) {
|
|
tegra_plane_disable(plane);
|
|
tegra_plane_disable(plane);
|
|
plane->crtc = NULL;
|
|
plane->crtc = NULL;
|