From 4ed346c6fbe66998853870ac9333a2cbe0bb067c Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Sat, 16 Apr 2022 11:56:06 -0700 Subject: [PATCH] freedreno/drm: Drop FD_PP_PGTABLE Unused. Signed-off-by: Rob Clark Part-of: --- src/freedreno/drm/freedreno_drmif.h | 1 - src/freedreno/drm/msm/msm_pipe.c | 2 -- src/freedreno/drm/virtio/virtio_pipe.c | 2 -- 3 files changed, 5 deletions(-) diff --git a/src/freedreno/drm/freedreno_drmif.h b/src/freedreno/drm/freedreno_drmif.h index 8621dd49523..83e52e9d100 100644 --- a/src/freedreno/drm/freedreno_drmif.h +++ b/src/freedreno/drm/freedreno_drmif.h @@ -58,7 +58,6 @@ enum fd_param_id { FD_MAX_FREQ, FD_TIMESTAMP, FD_NR_RINGS, /* # of rings == # of distinct priority levels */ - FD_PP_PGTABLE, /* are per-process pagetables used for the pipe/ctx */ FD_CTX_FAULTS, /* # of per context faults */ FD_GLOBAL_FAULTS, /* # of global (all context) faults */ FD_SUSPEND_COUNT, /* # of times the GPU has suspended, and potentially lost state */ diff --git a/src/freedreno/drm/msm/msm_pipe.c b/src/freedreno/drm/msm/msm_pipe.c index 775fd59f625..dd4073aac52 100644 --- a/src/freedreno/drm/msm/msm_pipe.c +++ b/src/freedreno/drm/msm/msm_pipe.c @@ -94,8 +94,6 @@ msm_pipe_get_param(struct fd_pipe *pipe, enum fd_param_id param, return query_param(pipe, MSM_PARAM_TIMESTAMP, value); case FD_NR_RINGS: return query_param(pipe, MSM_PARAM_NR_RINGS, value); - case FD_PP_PGTABLE: - return query_param(pipe, MSM_PARAM_PP_PGTABLE, value); case FD_CTX_FAULTS: return query_queue_param(pipe, MSM_SUBMITQUEUE_PARAM_FAULTS, value); case FD_GLOBAL_FAULTS: diff --git a/src/freedreno/drm/virtio/virtio_pipe.c b/src/freedreno/drm/virtio/virtio_pipe.c index ad7b630c37e..16995551bd0 100644 --- a/src/freedreno/drm/virtio/virtio_pipe.c +++ b/src/freedreno/drm/virtio/virtio_pipe.c @@ -100,8 +100,6 @@ virtio_pipe_get_param(struct fd_pipe *pipe, enum fd_param_id param, */ return 1; // return query_param(pipe, MSM_PARAM_NR_RINGS, value); - case FD_PP_PGTABLE: - return query_param(pipe, MSM_PARAM_PP_PGTABLE, value); case FD_CTX_FAULTS: return query_queue_param(pipe, MSM_SUBMITQUEUE_PARAM_FAULTS, value); case FD_GLOBAL_FAULTS: