Re: [PATCH 2/3] drm_hwcomposer: Stop using libsync to provide sw_sync wrappers

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

 



On Thu, May 3, 2018 at 8:47 AM, Sean Paul <seanpaul@xxxxxxxxxxxx> wrote:
> On Wed, May 02, 2018 at 04:56:29PM -0700, Alistair Strachan wrote:
>> Use of the sw_sync API is not allowed any more. Until drm_hwcomposer is
>> weaned off of sw_sync, build our own copy.
>
> I don't think it is used any longer. AFAICT, with 2 seconds of grep, it's
> referenced in drmcompositorworker.cpp, virtualcompositorworker.cpp, and
> hwcomposer.cpp
>
> I think these are all HWC1 legacy files, so they can probably just get cleaned
> up.

Are you sure? Doesn't the GL compositor have to wait on the fences of
the input buffers and create new fences for the GL compositing output
buffer(s) to pass into the kernel? It looked to me like sw_sync fences
are used in the latter case and that needs to be converted to use
eglCreateSyncKHR.

Rob
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux