diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-05-29 21:33:11 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-05-31 20:35:34 +0100 |
commit | d2a21702bde1d368177b5ead977b1fa9e078f25e (patch) | |
tree | 2829e35e2645e1365d005480ca618ae3bf5ceaf8 | |
parent | e4f2b5d5af9548f950b20b4699a2f751ca2146dc (diff) |
sna/video/sprite: Add sprite planes in order
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@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/sna_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c index 62cd3ab5..66a941ae 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 |