]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/etnaviv: allocate unique ID per drm_file
authorLucas Stach <l.stach@pengutronix.de>
Wed, 1 Feb 2023 15:26:08 +0000 (16:26 +0100)
committerLucas Stach <l.stach@pengutronix.de>
Tue, 7 Feb 2023 19:49:54 +0000 (20:49 +0100)
commitd306788b6e1bc9df1cc427f7db5921e7ecb29369
tree7fb8b01153b618f43b71b3a96c5715ae35ec515b
parentdf622729ddbf6607c10670e52d2cb484b1abe7c7
drm/etnaviv: allocate unique ID per drm_file

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@pengutronix.de>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/etnaviv/etnaviv_drv.c
drivers/gpu/drm/etnaviv/etnaviv_drv.h