From: Ville Syrjälä <[email protected]>

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ä <[email protected]>
---
 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

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to