Re: [PATCH v2] drm/amd/display: Fix two cursor duplication when using overlay

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday, August 27th, 2021 at 16:04, Harry Wentland <harry.wentland@xxxxxxx> wrote:

> > Is it possible to draw the cursor only on the overlay pipe (not on the primary
> > pipe), even though the overlay pipe doesn't cover the whole CRTC?
> >
> > Or will the overlay pipe crop the cursor image?
> >
>
> It will be cropped to the overlay rectangle.
>
> If you can allocate your overlay such that its destination rectangle
> always spans the entire CRTC you'd have no cursor issues. Unfortunately
> that means that you would use more memory bandwidth since you're
> scanning out an overlay that's larger than you really need.

Hm, yeah, unfortunately the buffers come from an X11 client, so it's
exactly the size of the visible area, I can't easily draw transparent
areas around it.

Thanks for all of the details, I'll think about all of this for a
while and try to come up with a plan.




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux