diff options
author | Sagar Arun Kamble | 2015-09-14 18:05:42 +0200 |
---|---|---|
committer | Daniel Vetter | 2015-09-14 19:16:27 +0200 |
commit | d1b9d039de79a1cdd789d1547251d5ba0fad573b (patch) | |
tree | 0b1b649019e0e29401d14627068991e0f916c2f6 /drivers/gpu/drm/i915/intel_sprite.c | |
parent | drm/i915/gen9: WA ST Unit Power Optimization Disable (diff) | |
download | kernel-qcow2-linux-d1b9d039de79a1cdd789d1547251d5ba0fad573b.tar.gz kernel-qcow2-linux-d1b9d039de79a1cdd789d1547251d5ba0fad573b.tar.xz kernel-qcow2-linux-d1b9d039de79a1cdd789d1547251d5ba0fad573b.zip |
drm/i915: Fix fb object's frontbuffer-bits
Shared frontbuffer bits are causing warnings when same FB is displayed
in another plane without clearing the bits from previous plane.
v2: Removing coversion of fb bits to 64 bit as it is not needed for now. (Daniel)
Change-Id: Ic2df80747f314b82afd22f8326297c57d1e652c6
Signed-off-by: Sagar Arun Kamble <sagar.a.kamble@intel.com>
Signed-off-by: Kumar, Mahesh <mahesh1.kumar@intel.com>
[danvet: Drop INTEL_FRONTBUFFER_SPRITE_MASK since unused.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_sprite.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_sprite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_sprite.c b/drivers/gpu/drm/i915/intel_sprite.c index 9553859ca151..4d27243656e3 100644 --- a/drivers/gpu/drm/i915/intel_sprite.c +++ b/drivers/gpu/drm/i915/intel_sprite.c @@ -1123,7 +1123,7 @@ intel_plane_init(struct drm_device *dev, enum pipe pipe, int plane) intel_plane->pipe = pipe; intel_plane->plane = plane; - intel_plane->frontbuffer_bit = INTEL_FRONTBUFFER_SPRITE(pipe); + intel_plane->frontbuffer_bit = INTEL_FRONTBUFFER_SPRITE(pipe, plane); intel_plane->check_plane = intel_check_sprite_plane; intel_plane->commit_plane = intel_commit_sprite_plane; possible_crtcs = (1 << pipe); |