Home
last modified time | relevance | path

Searched refs:worst_reset (Results 1 – 2 of 2) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_context.c107 enum pipe_reset_status worst_reset = PIPE_NO_RESET; in crocus_get_device_reset_status() local
122 if (worst_reset == PIPE_NO_RESET) { in crocus_get_device_reset_status()
123 worst_reset = batch_reset; in crocus_get_device_reset_status()
126 worst_reset = MIN2(worst_reset, batch_reset); in crocus_get_device_reset_status()
130 if (worst_reset != PIPE_NO_RESET && ice->reset.reset) in crocus_get_device_reset_status()
131 ice->reset.reset(ice->reset.data, worst_reset); in crocus_get_device_reset_status()
133 return worst_reset; in crocus_get_device_reset_status()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_context.c97 enum pipe_reset_status worst_reset = PIPE_NO_RESET; in iris_get_device_reset_status() local
112 if (worst_reset == PIPE_NO_RESET) { in iris_get_device_reset_status()
113 worst_reset = batch_reset; in iris_get_device_reset_status()
116 worst_reset = MIN2(worst_reset, batch_reset); in iris_get_device_reset_status()
120 if (worst_reset != PIPE_NO_RESET && ice->reset.reset) in iris_get_device_reset_status()
121 ice->reset.reset(ice->reset.data, worst_reset); in iris_get_device_reset_status()
123 return worst_reset; in iris_get_device_reset_status()