pvr: small cleanups
- remove unused PVR_IDF_WDF_IN_REGISTER_CONST_COUNT define - remove unneeded pvr_compute_ctx forward declaration - add render context section header to match compute and transfer Signed-off-by: Frank Binns <frank.binns@imgtec.com> Reviewed-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com> Reviewed-by: Matt Coster <matt.coster@imgtec.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20931>
This commit is contained in:
@@ -1164,11 +1164,6 @@ static VkResult pvr_sub_cmd_gfx_job_init(const struct pvr_device_info *dev_info,
|
||||
return VK_SUCCESS;
|
||||
}
|
||||
|
||||
/* Number of shareds used in the Issue Data Fence(IDF)/Wait Data Fence(WDF)
|
||||
* kernel.
|
||||
*/
|
||||
#define PVR_IDF_WDF_IN_REGISTER_CONST_COUNT 12U
|
||||
|
||||
static void
|
||||
pvr_sub_cmd_compute_job_init(const struct pvr_physical_device *pdevice,
|
||||
struct pvr_cmd_buffer *cmd_buffer,
|
||||
|
||||
@@ -37,8 +37,6 @@
|
||||
struct pvr_reset_cmd {
|
||||
};
|
||||
|
||||
struct pvr_compute_ctx;
|
||||
|
||||
struct rogue_sr_programs {
|
||||
struct pvr_bo *store_load_state_bo;
|
||||
|
||||
@@ -56,6 +54,10 @@ struct rogue_sr_programs {
|
||||
} pds;
|
||||
};
|
||||
|
||||
/******************************************************************************
|
||||
Render context
|
||||
******************************************************************************/
|
||||
|
||||
struct pvr_render_ctx {
|
||||
struct pvr_device *device;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user