]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/msm: remove unused icc_path/ocmem_icc_path
authorJonathan Marek <jonathan@marek.ca>
Tue, 8 Jun 2021 17:27:44 +0000 (13:27 -0400)
committerRob Clark <robdclark@chromium.org>
Wed, 23 Jun 2021 14:33:54 +0000 (07:33 -0700)
These aren't used by anything anymore.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Akhil P Oommen <akhilpo@codeaurora.org>
Link: https://lore.kernel.org/r/20210608172808.11803-2-jonathan@marek.ca
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/adreno/adreno_gpu.c
drivers/gpu/drm/msm/msm_gpu.h

index 43fe01e75de4c619257fbc0ddd22645ab9c94722..3a84a7b312ffe77ed2e3eedb55578b135dd5c703 100644 (file)
@@ -946,7 +946,4 @@ void adreno_gpu_cleanup(struct adreno_gpu *adreno_gpu)
        pm_runtime_disable(&priv->gpu_pdev->dev);
 
        msm_gpu_cleanup(&adreno_gpu->base);
-
-       icc_put(gpu->icc_path);
-       icc_put(gpu->ocmem_icc_path);
 }
index 18baf935e143fb597f0ab204d3733831fabe0d82..c302ab7ffb06e709edbc173daab81c9f7f4b6af8 100644 (file)
@@ -118,15 +118,6 @@ struct msm_gpu {
        struct clk *ebi1_clk, *core_clk, *rbbmtimer_clk;
        uint32_t fast_rate;
 
-       /* The gfx-mem interconnect path that's used by all GPU types. */
-       struct icc_path *icc_path;
-
-       /*
-        * Second interconnect path for some A3xx and all A4xx GPUs to the
-        * On Chip MEMory (OCMEM).
-        */
-       struct icc_path *ocmem_icc_path;
-
        /* Hang and Inactivity Detection:
         */
 #define DRM_MSM_INACTIVE_PERIOD   66 /* in ms (roughly four frames) */