[PATCH v3 2/3] drm/etnaviv: allocate unique ID per drm_file

Philipp Zabel p.zabel at pengutronix.de
Wed Feb 1 16:50:15 UTC 2023


On Wed, Feb 01, 2023 at 04:26:08PM +0100, Lucas Stach wrote:
> Allows to easily track if several fd are pointing to the same
> execution context due to being dup'ed.
> 
> Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
> ---
> v3: use xarray to track the active contexts to avoid issues
>     on rollover

Reviewed-by: Philipp Zabel <p.zabel at pengutronix.de>

regards
Philipp


More information about the dri-devel mailing list