panfrost: Move context initalization to the vtable
authorAlyssa Rosenzweig <alyssa@collabora.com>
Mon, 12 Jul 2021 22:48:46 +0000 (18:48 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 23 Jul 2021 20:12:18 +0000 (20:12 +0000)
commitd0e6db100c9bb812fc60643299389ec784e59b97
treeaac1f36d3f23a9f5f83e63ddffb5e9c4cb78e925
parent366de834aa6d8c578b4d9cd0905b0c42353cbe89
panfrost: Move context initalization to the vtable

Now there's only a single genx entrypoint.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11851>
src/gallium/drivers/panfrost/pan_cmdstream.c
src/gallium/drivers/panfrost/pan_context.c
src/gallium/drivers/panfrost/pan_context.h
src/gallium/drivers/panfrost/pan_screen.h