pvr: Change winsys flag defines to bitfields
authorKarmjit Mahil <Karmjit.Mahil@imgtec.com>
Wed, 14 Jun 2023 14:44:10 +0000 (15:44 +0100)
committerMarge Bot <emma+marge@anholt.net>
Tue, 27 Jun 2023 11:11:03 +0000 (11:11 +0000)
commitd53c7513285cdcd9b5f89bc5fc801c7777b36c92
treea46d4a0cbb2389b28b58f2dd75dde0724f80e4e9
parent4e6444af0befbae8c4aac4fe24c1cc3fe66eec4d
pvr: Change winsys flag defines to bitfields

Makes it easier to see which flags are set while debugging, and
prevent errors where the `BITFIELD_BIT()` is missing or using the
wrong flag for something.

Some fields have also been renamed to better fit with the naming
scheme around the code base.

Signed-off-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23765>
src/imagination/vulkan/pvr_job_compute.c
src/imagination/vulkan/pvr_job_render.c
src/imagination/vulkan/pvr_job_transfer.c
src/imagination/vulkan/winsys/pvr_winsys.h
src/imagination/vulkan/winsys/pvrsrvkm/pvr_srv_job_compute.c
src/imagination/vulkan/winsys/pvrsrvkm/pvr_srv_job_render.c
src/imagination/vulkan/winsys/pvrsrvkm/pvr_srv_job_transfer.c