summaryrefslogtreecommitdiff
path: root/src/sna/sna_video.h
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2018-04-23 22:24:35 +0300
committerChris Wilson <chris@chris-wilson.co.uk>2018-04-24 12:58:09 +0100
commit0cf51c7ea9cbde2a0502c311845c10a929cad152 (patch)
tree811d12af16094fb8e1afd8385641f09428bb6f8b /src/sna/sna_video.h
parent02dfb9193f410fc81762bb3bf6cdf57cf12c0147 (diff)
sna/video/sprite: Remove stale video->plane
video->plane is never populated so nuke it. Its only user can be nuked as well since all it's trying to do is turn off the plane (which fails on account plane_id being zero). We don't need to disable the plane immediately upon the setplane failure as the higher level code will end up stopping the entire port on error, and thus the plane will get disabled just fine. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_video.h')
-rw-r--r--src/sna/sna_video.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/sna/sna_video.h b/src/sna/sna_video.h
index 6abf6d54..bbd3f0fd 100644
--- a/src/sna/sna_video.h
+++ b/src/sna/sna_video.h
@@ -111,7 +111,6 @@ struct sna_video {
int alignment;
bool tiled;
bool textured;
- int plane;
struct kgem_bo *bo[4];
RegionRec clip;