Mesa (main): freedreno/drm: Drop FD_PP_PGTABLE

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Apr 27 23:33:33 UTC 2022


Module: Mesa
Branch: main
Commit: 4ed346c6fbe66998853870ac9333a2cbe0bb067c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4ed346c6fbe66998853870ac9333a2cbe0bb067c

Author: Rob Clark <robdclark at chromium.org>
Date:   Sat Apr 16 11:56:06 2022 -0700

freedreno/drm: Drop FD_PP_PGTABLE

Unused.

Signed-off-by: Rob Clark <robdclark at chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16086>

---

 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:



More information about the mesa-commit mailing list