diff options
author | 2013-08-07 13:30:23 +0300 | |
---|---|---|
committer | 2013-08-08 14:11:13 +0200 | |
commit | 88a94a58a07267d979cc168c3e511b99f4164951 (patch) | |
tree | 9924ce72f21af7d15ec95adb3054d9d1680844e6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915: Pass crtc to our update/disable_plane hooks (diff) | |
download | linux-dev-88a94a58a07267d979cc168c3e511b99f4164951.tar.xz linux-dev-88a94a58a07267d979cc168c3e511b99f4164951.zip |
drm/i915: Don't try to disable plane if it's already disabled
Check plane->fb in intel_disable_plane() to determine if the plane
is already disabled.
If the plane has an fb, then it must also have a crtc, so we can drop
the plane->crtc check and just call intel_enable_primary() directly.
v2: WARN and bail if the plane doesn't have a crtc when it should
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions