summaryrefslogtreecommitdiff
path: root/drivers/gpu/imx/dpu
diff options
context:
space:
mode:
authorLiu Ying <victor.liu@nxp.com>2018-08-02 13:55:34 +0800
committerLeonard Crestez <leonard.crestez@nxp.com>2018-08-24 12:41:33 +0300
commit875c31a70f3527c59cc597a10a88c39f3a0095df (patch)
tree1a393a445e1fea9fca67f67c99af16ccd017817a /drivers/gpu/imx/dpu
parentdab218c3c46644215f5709e03729bbe9ba3b5823 (diff)
MLK-19114-2 gpu: imx: imx8-prefetch: Remove has_prefetech_fixup from devtypes
There are prefetch engine fixups embedded in the updated i.MX8QM silicons. So, prefetch engines in all i.MX8 variants should be the same. Let's remove has_prefetech_fixup from devtypes which is no more needed. Signed-off-by: Liu Ying <victor.liu@nxp.com>
Diffstat (limited to 'drivers/gpu/imx/dpu')
-rw-r--r--drivers/gpu/imx/dpu/dpu-common.c9
-rw-r--r--drivers/gpu/imx/dpu/dpu-prv.h1
2 files changed, 0 insertions, 10 deletions
diff --git a/drivers/gpu/imx/dpu/dpu-common.c b/drivers/gpu/imx/dpu/dpu-common.c
index 2cf7a5055b9a..4e31c1ec5b0b 100644
--- a/drivers/gpu/imx/dpu/dpu-common.c
+++ b/drivers/gpu/imx/dpu/dpu-common.c
@@ -542,7 +542,6 @@ static const struct dpu_devtype dpu_type_v1 = {
.plane_src_na_mask = 0xffffff80,
.has_capture = true,
.has_prefetch = false,
- .has_prefetch_fixup = false,
.has_disp_sel_clk = false,
.has_dual_ldb = false,
.pixel_link_quirks = false,
@@ -573,7 +572,6 @@ static const struct dpu_devtype dpu_type_v2_qm = {
.plane_src_na_mask = 0xffffffe2,
.has_capture = false,
.has_prefetch = true,
- .has_prefetch_fixup = false,
.has_disp_sel_clk = true,
.has_dual_ldb = false,
.pixel_link_quirks = true,
@@ -604,7 +602,6 @@ static const struct dpu_devtype dpu_type_v2_qxp = {
.plane_src_na_mask = 0xffffffe2,
.has_capture = false,
.has_prefetch = true,
- .has_prefetch_fixup = true,
.has_disp_sel_clk = false,
.has_dual_ldb = true,
.pixel_link_quirks = true,
@@ -625,12 +622,6 @@ static const struct of_device_id dpu_dt_ids[] = {
};
MODULE_DEVICE_TABLE(of, dpu_dt_ids);
-bool dpu_has_prefetch_fixup(struct dpu_soc *dpu)
-{
- return dpu->devtype->has_prefetch_fixup;
-}
-EXPORT_SYMBOL_GPL(dpu_has_prefetch_fixup);
-
bool dpu_vproc_has_fetcheco_cap(u32 cap_mask)
{
return !!(cap_mask & DPU_VPROC_CAP_FETCHECO);
diff --git a/drivers/gpu/imx/dpu/dpu-prv.h b/drivers/gpu/imx/dpu/dpu-prv.h
index ff1039005072..3bfcaad6d252 100644
--- a/drivers/gpu/imx/dpu/dpu-prv.h
+++ b/drivers/gpu/imx/dpu/dpu-prv.h
@@ -207,7 +207,6 @@ struct dpu_devtype {
const u32 plane_src_na_mask;
bool has_capture;
bool has_prefetch;
- bool has_prefetch_fixup;
bool has_disp_sel_clk;
bool has_dual_ldb;
bool pixel_link_quirks;