* [PATCH 1/2] drm/i915: mask tiled bit when updating IVB sprites
@ 2012-06-26 20:10 Jesse Barnes
2012-06-26 20:10 ` [PATCH 2/2] drm/i915: correct IVB default sprite format Jesse Barnes
0 siblings, 1 reply; 3+ messages in thread
From: Jesse Barnes @ 2012-06-26 20:10 UTC (permalink / raw)
To: intel-gfx
Or going from tiled to untiled may break.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
---
drivers/gpu/drm/i915/intel_sprite.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/i915/intel_sprite.c b/drivers/gpu/drm/i915/intel_sprite.c
index 9d7777b..64174c5 100644
--- a/drivers/gpu/drm/i915/intel_sprite.c
+++ b/drivers/gpu/drm/i915/intel_sprite.c
@@ -56,6 +56,7 @@ ivb_update_plane(struct drm_plane *plane, struct drm_framebuffer *fb,
sprctl &= ~SPRITE_PIXFORMAT_MASK;
sprctl &= ~SPRITE_RGB_ORDER_RGBX;
sprctl &= ~SPRITE_YUV_BYTE_ORDER_MASK;
+ sprctl &= ~SPRITE_TILED;
switch (fb->pixel_format) {
case DRM_FORMAT_XBGR8888:
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] drm/i915: correct IVB default sprite format
2012-06-26 20:10 [PATCH 1/2] drm/i915: mask tiled bit when updating IVB sprites Jesse Barnes
@ 2012-06-26 20:10 ` Jesse Barnes
2012-06-27 11:34 ` Daniel Vetter
0 siblings, 1 reply; 3+ messages in thread
From: Jesse Barnes @ 2012-06-26 20:10 UTC (permalink / raw)
To: intel-gfx
We shouldn't hit this path anyway, but make it use the IVB sprite format
definition to avoid confusion.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
---
drivers/gpu/drm/i915/intel_sprite.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/intel_sprite.c b/drivers/gpu/drm/i915/intel_sprite.c
index 64174c5..b041097 100644
--- a/drivers/gpu/drm/i915/intel_sprite.c
+++ b/drivers/gpu/drm/i915/intel_sprite.c
@@ -85,7 +85,7 @@ ivb_update_plane(struct drm_plane *plane, struct drm_framebuffer *fb,
break;
default:
DRM_DEBUG_DRIVER("bad pixel format, assuming RGBX888\n");
- sprctl |= DVS_FORMAT_RGBX888;
+ sprctl |= SPRITE_FORMAT_RGBX888;
pixel_size = 4;
break;
}
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 2/2] drm/i915: correct IVB default sprite format
2012-06-26 20:10 ` [PATCH 2/2] drm/i915: correct IVB default sprite format Jesse Barnes
@ 2012-06-27 11:34 ` Daniel Vetter
0 siblings, 0 replies; 3+ messages in thread
From: Daniel Vetter @ 2012-06-27 11:34 UTC (permalink / raw)
To: Jesse Barnes; +Cc: intel-gfx
On Tue, Jun 26, 2012 at 01:10:12PM -0700, Jesse Barnes wrote:
> We shouldn't hit this path anyway, but make it use the IVB sprite format
> definition to avoid confusion.
>
> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Both patches queued for -next, thanks.
-Daniel
--
Daniel Vetter
Mail: daniel@ffwll.ch
Mobile: +41 (0)79 365 57 48
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-06-27 11:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-26 20:10 [PATCH 1/2] drm/i915: mask tiled bit when updating IVB sprites Jesse Barnes
2012-06-26 20:10 ` [PATCH 2/2] drm/i915: correct IVB default sprite format Jesse Barnes
2012-06-27 11:34 ` Daniel Vetter
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.