pvr: avoid including pvr_private.h from headers

This header contains a lot of includes, and gets everywhere. Let's make
sure we don't include it from headers, which makes this much easier to
manage.

Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37432>
This commit is contained in:
Erik Faye-Lund 2025-09-03 13:56:13 +02:00 committed by Marge Bot
parent 93d00bdbc1
commit 34e9cb59e3
8 changed files with 4 additions and 8 deletions

View file

@ -30,7 +30,6 @@
#include "hwdef/rogue_hw_defs.h"
#include "pvr_csb_enum_helpers.h"
#include "pvr_private.h"
#include "pvr_types.h"
enum pvr_pbe_gamma {

View file

@ -25,7 +25,6 @@
#define PVR_JOB_CONTEXT_H
#include "pvr_common.h"
#include "pvr_private.h"
#include "pvr_transfer_frag_store.h"
#include "pvr_types.h"
#include "pvr_usc.h"

View file

@ -15,9 +15,11 @@
#define PVR_PIPELINE_H
#include "vk_object.h"
#include "vk_graphics_state.h"
#include "pvr_common.h"
#include "pvr_csb.h"
#include "pvr_pds.h"
#include "pvr_private.h"
struct pvr_suballoc_bo;

View file

@ -28,7 +28,6 @@
#include <vulkan/vulkan.h>
#include "hwdef/rogue_hw_defs.h"
#include "pvr_private.h"
#include "pvr_types.h"
#include "util/macros.h"

View file

@ -22,7 +22,7 @@
#include "pco/usclib/pco_usclib.h"
#include "pvr_common.h"
#include "pvr_formats.h"
#include "pvr_private.h"
#include "pvr_hw_pass.h"
#include "pvr_pass.h"
#include "pvr_usc.h"
#include "util/macros.h"

View file

@ -18,7 +18,6 @@
#include "pco/pco.h"
#include "pvr_common.h"
#include "pvr_formats.h"
#include "pvr_private.h"
struct pvr_load_op;

View file

@ -26,7 +26,6 @@
#include <stdint.h>
#include "pvr_private.h"
#include "pvr_srv.h"
#include "pvr_types.h"
#include "pvr_winsys.h"

View file

@ -28,7 +28,6 @@
#include <stdint.h>
#include "drm-uapi/drm.h"
#include "pvr_private.h"
#include "pvr_srv.h"
#include "pvr_types.h"
#include "util/macros.h"