mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 15:20:10 +01:00
pvr: remove start/stop transfer flags
These are ignored by the pvrsrvkm KMD and don't exist in the new KMD. Signed-off-by: Frank Binns <frank.binns@imgtec.com> Reviewed-by: Luigi santivetti <luigi.santivetti@imgtec.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21132>
This commit is contained in:
parent
4347072443
commit
079247e046
3 changed files with 1 additions and 20 deletions
|
|
@ -250,9 +250,6 @@ struct pvr_winsys_transfer_ctx {
|
|||
struct pvr_winsys *ws;
|
||||
};
|
||||
|
||||
#define PVR_WINSYS_TRANSFER_FLAG_START BITFIELD_BIT(0U)
|
||||
#define PVR_WINSYS_TRANSFER_FLAG_END BITFIELD_BIT(1U)
|
||||
|
||||
#define PVR_TRANSFER_MAX_PREPARES_PER_SUBMIT 16U
|
||||
#define PVR_TRANSFER_MAX_RENDER_TARGETS 3U
|
||||
|
||||
|
|
|
|||
|
|
@ -106,14 +106,6 @@
|
|||
#define DRM_IOCTL_SRVKM_INIT \
|
||||
DRM_IOWR(DRM_COMMAND_BASE + DRM_SRVKM_INIT, struct drm_srvkm_init_data)
|
||||
|
||||
/******************************************************************************
|
||||
Bridge call specific defines
|
||||
******************************************************************************/
|
||||
|
||||
/* Flags for PVR_SRV_BRIDGE_RGXTQ_RGXSUBMITTRANSFER2 bridge call. */
|
||||
#define PVR_TRANSFER_PREP_FLAGS_START BITFIELD_BIT(5U)
|
||||
#define PVR_TRANSFER_PREP_FLAGS_END BITFIELD_BIT(6U)
|
||||
|
||||
/******************************************************************************
|
||||
Misc defines
|
||||
******************************************************************************/
|
||||
|
|
|
|||
|
|
@ -194,8 +194,8 @@ VkResult pvr_srv_winsys_transfer_submit(
|
|||
uint32_t client_update_count[PVR_TRANSFER_MAX_PREPARES_PER_SUBMIT] = { 0 };
|
||||
void **update_ufo_syc_prims[PVR_TRANSFER_MAX_PREPARES_PER_SUBMIT] = { 0 };
|
||||
uint32_t *update_values[PVR_TRANSFER_MAX_PREPARES_PER_SUBMIT] = { 0 };
|
||||
uint32_t cmd_flags[PVR_TRANSFER_MAX_PREPARES_PER_SUBMIT] = { 0 };
|
||||
uint32_t cmd_sizes[PVR_TRANSFER_MAX_PREPARES_PER_SUBMIT];
|
||||
uint32_t cmd_flags[PVR_TRANSFER_MAX_PREPARES_PER_SUBMIT];
|
||||
|
||||
struct pvr_srv_sync *srv_signal_sync;
|
||||
uint32_t job_num;
|
||||
|
|
@ -215,14 +215,6 @@ VkResult pvr_srv_winsys_transfer_submit(
|
|||
|
||||
for (uint32_t i = 0U; i < submit_info->cmd_count; i++) {
|
||||
cmd_sizes[i] = sizeof(**cmds_ptr_arr);
|
||||
|
||||
cmd_flags[i] = 0;
|
||||
if (submit_info->cmds[i].flags & PVR_WINSYS_TRANSFER_FLAG_START)
|
||||
cmd_flags[i] |= PVR_TRANSFER_PREP_FLAGS_START;
|
||||
|
||||
if (submit_info->cmds[i].flags & PVR_WINSYS_TRANSFER_FLAG_END)
|
||||
cmd_flags[i] |= PVR_TRANSFER_PREP_FLAGS_END;
|
||||
|
||||
cmds_ptr_arr[i] = &transfer_cmds[i];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue