diff --git a/src/gallium/drivers/panfrost/pan_context.c b/src/gallium/drivers/panfrost/pan_context.c
index e1fed545c4bcfb4f0572043b52f35a4e119fdee3..bfd9de4d23231e747577274aadade7db6d1b7b7c 100644
--- a/src/gallium/drivers/panfrost/pan_context.c
+++ b/src/gallium/drivers/panfrost/pan_context.c
@@ -867,6 +867,12 @@ panfrost_fence_server_sync(struct pipe_context *pctx,
close(fd);
}
+static enum pipe_reset_status
+panfrost_get_device_reset_status(struct pipe_context *pipe)
+{
+ return PIPE_NO_RESET;
+}
+
struct pipe_context *
panfrost_create_context(struct pipe_screen *screen, void *priv, unsigned flags)
{
@@ -883,6 +889,7 @@ panfrost_create_context(struct pipe_screen *screen, void *priv, unsigned flags)
gallium->create_fence_fd = panfrost_create_fence_fd;
gallium->fence_server_sync = panfrost_fence_server_sync;
+ gallium->get_device_reset_status = panfrost_get_device_reset_status;
gallium->flush = panfrost_flush;
gallium->clear = panfrost_clear;
diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c
index 1a3497b1b8805efe27c5af3fb7cf7fedab96a517..27429aa30d48d31a604108128a833977aeeadc57 100644
--- a/src/gallium/drivers/panfrost/pan_screen.c
+++ b/src/gallium/drivers/panfrost/pan_screen.c
@@ -367,6 +367,9 @@ panfrost_get_param(struct pipe_screen *screen, enum pipe_cap param)
case PIPE_CAP_NATIVE_FENCE_FD:
return 1;
+ case PIPE_CAP_DEVICE_RESET_STATUS_QUERY:
+ return 1;
+
default:
return u_pipe_screen_get_param_defaults(screen, param);
}