drm/i915: don't unconditionally enable SPRITE_DEST_KEY on IVB
Subsystems (2)
PATCH 1/1 drm/i915: don't unconditionally enable SPRITE_DEST_KEY on IVB
Now that we have specific color key ioctls, we don't need to set this all the time.
Reported-by Armin C Reese <[email protected]>
Signed-off-by Jesse Barnes <[email protected]>
--- drivers/gpu/drm/i915/intel_sprite.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/gpu/drm/i915/intel_sprite.c +0 -1
@@ -95,7 +95,6 @@ ivb_update_plane(struct drm_plane *plane, struct drm_framebuffer *fb,/* must disable */ sprctl |=SPRITE_TRICKLE_FEED_DISABLE ; sprctl |=SPRITE_ENABLE ; - sprctl |=SPRITE_DEST_KEY ;/* Sizes are 0 based */ src_w--;
Signature · 1 line
1.7.1
Quoted 14 lines · Jesse Barnes
Now that we have specific color key ioctls, we don't need to set this all the time.
Reported-by Armin C Reese <[email protected]>Signed-off-by Jesse Barnes <[email protected]>--- drivers/gpu/drm/i915/intel_sprite.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)drivers/gpu/drm/i915/intel_sprite.c +0
-0
drivers/gpu/drm/i915/intel_sprite.c ivb_update_plane(struct drm_plane *plane, struct drm_framebuffer *fb, · line 98
Quoted 4 lines
drivers/gpu/drm/i915/intel_sprite.c +0
-1@@ -95,7 +95,6 @@ ivb_update_plane(struct drm_plane *plane, struct drm_framebuffer *fb,/* must disable */ sprctl |=SPRITE_TRICKLE_FEED_DISABLE ; sprctl |=SPRITE_ENABLE ; - sprctl |=SPRITE_DEST_KEY ;
Meh, that sucker slipped my review of the original colour key patches where it's been added.
Reviewed-by Daniel Vetter <[email protected]>
Signature · 3 lines
Daniel Vetter Mail: [email protected] Mobile: +41 (0)79 365 57 48