etnaviv: extend screen_create(..) with gpu_fd
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Thu, 16 Sep 2021 17:36:05 +0000 (19:36 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 1 Oct 2021 10:13:32 +0000 (10:13 +0000)
commit5328fc6ca3b6e68c0cbec26eb5e78f2019816b31
tree364523fab141a337dc525f83dcb8be0e10203198
parentf096441359828597f1a9c874a59ddd2574f46970
etnaviv: extend screen_create(..) with gpu_fd

Decouples gpu fd and renderonly object. This opens the door for
some simplifications.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Tested-by: Philipp Zabel p.zabel@pengutronix.de
Reviewed-by: Simon Ser <contact@emersion.fr>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12904>
src/gallium/winsys/etnaviv/drm/etnaviv_drm_winsys.c