mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
radeonsi: remove r600_pipe_common::check_vm_faults
Acked-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
parent
17e8f1608e
commit
5c125ab1ba
3 changed files with 2 additions and 9 deletions
|
|
@ -239,9 +239,7 @@ void si_flush_dma_cs(void *ctx, unsigned flags, struct pipe_fence_handle **fence
|
|||
struct r600_common_context *rctx = (struct r600_common_context *)ctx;
|
||||
struct radeon_winsys_cs *cs = rctx->dma.cs;
|
||||
struct radeon_saved_cs saved;
|
||||
bool check_vm =
|
||||
(rctx->screen->debug_flags & DBG(CHECK_VM)) &&
|
||||
rctx->check_vm_faults;
|
||||
bool check_vm = (rctx->screen->debug_flags & DBG(CHECK_VM));
|
||||
|
||||
if (!radeon_emitted(cs, 0)) {
|
||||
if (fence)
|
||||
|
|
@ -262,7 +260,7 @@ void si_flush_dma_cs(void *ctx, unsigned flags, struct pipe_fence_handle **fence
|
|||
*/
|
||||
rctx->ws->fence_wait(rctx->ws, rctx->last_sdma_fence, 800*1000*1000);
|
||||
|
||||
rctx->check_vm_faults(rctx, &saved, RING_DMA);
|
||||
si_check_vm_faults(rctx, &saved, RING_DMA);
|
||||
si_clear_saved_cs(&saved);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -519,10 +519,6 @@ struct r600_common_context {
|
|||
|
||||
void (*set_atom_dirty)(struct r600_common_context *ctx,
|
||||
struct r600_atom *atom, bool dirty);
|
||||
|
||||
void (*check_vm_faults)(struct r600_common_context *ctx,
|
||||
struct radeon_saved_cs *saved,
|
||||
enum ring_type ring);
|
||||
};
|
||||
|
||||
/* r600_buffer_common.c */
|
||||
|
|
|
|||
|
|
@ -1109,7 +1109,6 @@ void si_check_vm_faults(struct r600_common_context *ctx,
|
|||
void si_init_debug_functions(struct si_context *sctx)
|
||||
{
|
||||
sctx->b.b.dump_debug_state = si_dump_debug_state;
|
||||
sctx->b.check_vm_faults = si_check_vm_faults;
|
||||
|
||||
/* Set the initial dmesg timestamp for this context, so that
|
||||
* only new messages will be checked for VM faults.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue