Re: [PATCH libdrm 1/2] etnaviv: prevent deadlock in error path

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

 



On 21 August 2017 at 11:57, Philipp Zabel <p.zabel@xxxxxxxxxxxxxx> wrote:
> If drmPrimeFDToHandle fails in etna_bo_from_dmabuf, the function must
> not return with the table_lock mutex held. There is no reason to call
> drmPrimeFDToHandle under that lock, so just take the lock after trying
> to obtain the handle.
>
> Based on ceb70a6b1015 ("freedreno: prevent deadlock in error path").
>
Can you skim through cf40cf05a4d7f3945d534790e7768a048adc3ab0 and it's
commit message.

Doesn't a similar issue apply here as well?

-Emil
_______________________________________________
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