[Intel-gfx] [PATCH xf86-video-intel 4/8] sna/video/sprite: Add sprite planes in order
Ville Syrjala
ville.syrjala at linux.intel.com
Tue May 29 18:33:11 UTC 2018
From: Ville Syrjälä <ville.syrjala at linux.intel.com>
On SKL+ dst color keying only works between the first sprite and the
primary. We probably wante the first Xv port to be the first sprite
plane so that the user gets working colorkeying for the port that is
most likely to be used first. No way to get dst colorkeying with the
other ports :(
Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
src/sna/sna_display.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index 62cd3ab5b44c..66a941ae7301 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -3475,7 +3475,7 @@ static void add_sprite_plane(struct sna_crtc *crtc,
return;
memcpy(sprite, details, sizeof(*sprite));
- list_add(&sprite->link, &crtc->sprites);
+ list_add_tail(&sprite->link, &crtc->sprites);
}
static void
--
2.16.1
More information about the Intel-gfx
mailing list