Commit 917db410450e265b82ac36ad1cbbfd5f3ca9a204
Exists in
master
and in
13 other branches
Merge tag 'drm/tegra/for-3.15-rc3' of git://anongit.freedesktop.org/tegra/linux into drm-next
drm/tegra: Fixes for v3.15-rc3 A single fix for some framebuffer reference counting fallout caused by the primary plane helpers introduced in 3.15-rc1. * tag 'drm/tegra/for-3.15-rc3' of git://anongit.freedesktop.org/tegra/linux: drm/tegra: restrict plane loops to legacy planes
Showing 1 changed file Side-by-side Diff
drivers/gpu/drm/tegra/dc.c
... | ... | @@ -312,7 +312,7 @@ |
312 | 312 | struct drm_device *drm = crtc->dev; |
313 | 313 | struct drm_plane *plane; |
314 | 314 | |
315 | - list_for_each_entry(plane, &drm->mode_config.plane_list, head) { | |
315 | + drm_for_each_legacy_plane(plane, &drm->mode_config.plane_list) { | |
316 | 316 | if (plane->crtc == crtc) { |
317 | 317 | tegra_plane_disable(plane); |
318 | 318 | plane->crtc = NULL; |