diff options
author | Thierry Reding <treding@nvidia.com> | 2014-11-26 13:05:50 +0100 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2014-12-19 15:02:44 +0100 |
commit | 01abc3458e8dfab96a9aa8e63db983e3d819190c (patch) | |
tree | 4492504b3901aabe182b3dc4b3356ed64be73a6b | |
parent | e646eb10b19d60543921b8add59af4c54e5fa410 (diff) |
drm/tegra: dc: No longer disable planes at CRTC disable
The DRM core should take care of disabling all unneeded planes, so there
is no need to do this explicitly.
Signed-off-by: Thierry Reding <treding@nvidia.com>
-rw-r--r-- | drivers/gpu/drm/tegra/dc.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/gpu/drm/tegra/dc.c b/drivers/gpu/drm/tegra/dc.c index 5d1ea7a0572..f5a8cbe0430 100644 --- a/drivers/gpu/drm/tegra/dc.c +++ b/drivers/gpu/drm/tegra/dc.c @@ -1001,15 +1001,6 @@ static int tegra_dc_wait_idle(struct tegra_dc *dc, unsigned long timeout) static void tegra_crtc_disable(struct drm_crtc *crtc) { struct tegra_dc *dc = to_tegra_dc(crtc); - struct drm_device *drm = crtc->dev; - struct drm_plane *plane; - - list_for_each_entry(plane, &drm->mode_config.plane_list, head) { - if (plane->crtc == crtc) { - plane->funcs->disable_plane(plane); - plane->crtc = NULL; - } - } if (!tegra_dc_idle(dc)) { tegra_dc_stop(dc); |