Re: [PATCH v3 45/50] drm/omap: dpi: Register a drm_bridge

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

 



On 19/12/2019 11:40, Laurent Pinchart wrote:

Do we ever get drm_bridge_funcs calls from multiple threads at the
same time? Is there a difference between having a single DPI output,
or multiple DPI outputs (i.e. can two different DPI outputs get calls
simultaneously?).

I'll drop the lock, it's not needed. The core should serialize calls to
the bridge, at least per output. For different outputs, there's a
possibility I believe of atomic commits being handled concurrently if
they don't share any resource.

I don't think we do much locking with resource handling. E.g. we have single registers with mux settings for multiple outputs. If DPI (or any other dss output) gets called concurrently for different outputs, we might get a race.

I wonder if that concurrency is opt-in...

 Tomi

--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
_______________________________________________
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