sna/video: Don't skip setplane if this frame.bo is the same as the last
Always show the image, even if the bo doesn't appear to change as the client may have put fresh data in the shared buffer and repositioned the image. Suggested-by: Ville Syrjala <ville.syrjala@linux.intel.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
6d7e13f78b
commit
65b680e6cf
|
|
@ -261,10 +261,6 @@ sna_video_sprite_show(struct sna *sna,
|
|||
video->color_key_changed &= ~(1 << pipe);
|
||||
}
|
||||
|
||||
assert(pipe < ARRAY_SIZE(video->bo));
|
||||
if (video->bo[pipe] == frame->bo)
|
||||
return true;
|
||||
|
||||
update_dst_box_to_crtc_coords(sna, crtc, dstBox);
|
||||
if (frame->rotation & (RR_Rotate_90 | RR_Rotate_270)) {
|
||||
int tmp = frame->width;
|
||||
|
|
|
|||
Loading…
Reference in New Issue