summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLiu Ying <victor.liu@nxp.com>2019-11-29 13:11:48 +0800
committerLiu Ying <victor.liu@nxp.com>2019-12-17 14:23:46 +0800
commita103d286b44be223820fb5041a80e5cb93d194ad (patch)
treee90996babd705e91191a3c30aa8d6cf5e5d6a05b /include
parentf0ee89aa2a457b797e1109de027ca523a6f5895f (diff)
MLK-23116-1 gpu: imx: imx8_prg: Add helper prg_shadow_disable() support
This patch adds helper prg_shadow_disable() support so that callers may disable PRG SHADOW_EN bit. Reviewed-by: Sandor Yu <Sandor.yu@nxp.com> Signed-off-by: Liu Ying <victor.liu@nxp.com> (cherry picked from commit d0c6de11268ced25dd7e33111914bdd76c70ab84) (cherry picked from commit c346809d39662dbe43d8a23635a60a439949774b)
Diffstat (limited to 'include')
-rw-r--r--include/video/imx8-prefetch.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/video/imx8-prefetch.h b/include/video/imx8-prefetch.h
index a37f585b1a46..49d5b02a11f5 100644
--- a/include/video/imx8-prefetch.h
+++ b/include/video/imx8-prefetch.h
@@ -38,6 +38,7 @@ void prg_configure(struct prg *prg, unsigned int width, unsigned int height,
bool start);
void prg_reg_update(struct prg *prg);
void prg_shadow_enable(struct prg *prg);
+void prg_shadow_disable(struct prg *prg);
bool prg_stride_supported(struct prg *prg, unsigned int stride);
bool prg_stride_double_check(struct prg *prg,
unsigned int width, unsigned int x_offset,