[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <024a251bfc6c10f11e09add5fe84cfcc924d7751.1597833138.git.mchehab+huawei@kernel.org>
Date: Wed, 19 Aug 2020 13:46:09 +0200
From: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: linuxarm@...wei.com, mauro.chehab@...wei.com,
Mauro Carvalho Chehab <mchehab+huawei@...nel.org>,
John Stultz <john.stultz@...aro.org>,
Manivannan Sadhasivam <mani@...nel.org>,
Daniel Vetter <daniel@...ll.ch>,
dri-devel <dri-devel@...ts.freedesktop.org>,
Xiubin Zhang <zhangxiubin1@...wei.com>,
Liwei Cai <cailiwei@...ilicon.com>,
Chen Feng <puck.chen@...ilicon.com>,
Liuyao An <anliuyao@...wei.com>,
Wanchun Zheng <zhengwanchun@...ilicon.com>,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: [PATCH 41/49] staging: hikey9xx/gpu: get rid of some unused data
There are some things inside struct dss_hw_ctx that are unused.
Get rid of them.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
---
drivers/staging/hikey9xx/gpu/kirin960_dpe_reg.h | 2 --
drivers/staging/hikey9xx/gpu/kirin970_dpe_reg.h | 3 ---
drivers/staging/hikey9xx/gpu/kirin9xx_drm_dss.c | 2 --
3 files changed, 7 deletions(-)
diff --git a/drivers/staging/hikey9xx/gpu/kirin960_dpe_reg.h b/drivers/staging/hikey9xx/gpu/kirin960_dpe_reg.h
index cd248bf15503..ae4eaae14429 100644
--- a/drivers/staging/hikey9xx/gpu/kirin960_dpe_reg.h
+++ b/drivers/staging/hikey9xx/gpu/kirin960_dpe_reg.h
@@ -3081,8 +3081,6 @@ struct dss_hw_ctx {
ktime_t vsync_timestamp_prev;
struct iommu_domain *mmu_domain;
- struct ion_client *ion_client;
- struct ion_handle *ion_handle;
char __iomem *screen_base;
unsigned long smem_start;
unsigned long screen_size;
diff --git a/drivers/staging/hikey9xx/gpu/kirin970_dpe_reg.h b/drivers/staging/hikey9xx/gpu/kirin970_dpe_reg.h
index aeae3720c889..4751b8b6423c 100644
--- a/drivers/staging/hikey9xx/gpu/kirin970_dpe_reg.h
+++ b/drivers/staging/hikey9xx/gpu/kirin970_dpe_reg.h
@@ -4068,12 +4068,9 @@ struct dss_hw_ctx {
ktime_t vsync_timestamp_prev;
struct iommu_domain *mmu_domain;
- struct ion_client *ion_client;
- struct ion_handle *ion_handle;
char __iomem *screen_base;
unsigned long smem_start;
unsigned long screen_size;
- struct dss_smmu smmu;
};
struct dss_clk_rate {
diff --git a/drivers/staging/hikey9xx/gpu/kirin9xx_drm_dss.c b/drivers/staging/hikey9xx/gpu/kirin9xx_drm_dss.c
index 292e14d2edf5..6792ac6fa8dc 100644
--- a/drivers/staging/hikey9xx/gpu/kirin9xx_drm_dss.c
+++ b/drivers/staging/hikey9xx/gpu/kirin9xx_drm_dss.c
@@ -976,8 +976,6 @@ static int dss_drm_init(struct drm_device *dev)
if (ret)
return ret;
- ctx->ion_client = NULL;
- ctx->ion_handle = NULL;
ctx->screen_base = 0;
ctx->screen_size = 0;
ctx->smem_start = 0;
--
2.26.2
Powered by blists - more mailing lists