From 36697cc2c1fda7f76059ff2e26c745ee5adef01b Mon Sep 17 00:00:00 2001 From: Liu Ying Date: Mon, 26 Mar 2018 16:05:03 +0800 Subject: [PATCH] MLK-17924 gpu: imx: imx8_dprc: Do not set FRAME_2P_PIX_X/Y_CTRL for updated IP We've got some fixups for DPR IP in the new i.MX8QXP silicon. To address the cropping issue(TKT344978), the new IP changes the FRAME_2P_PIX_X/Y_CTRL(@F0h and @100h) register definitions to be FRAME_PIX_X/Y_ULC_CTRL. Thus, we should not set the two registers for the new IP. FRAME_PIX_X/Y_ULC_CTRL will be programmed after we figure out how to use them to do fb x/y offset for tile formats. Signed-off-by: Liu Ying --- drivers/gpu/imx/imx8_dprc.c | 38 +++++++++++++++++++++++++++++-------- 1 file changed, 30 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/imx/imx8_dprc.c b/drivers/gpu/imx/imx8_dprc.c index 79826d77e7f5..f410df461288 100644 --- a/drivers/gpu/imx/imx8_dprc.c +++ b/drivers/gpu/imx/imx8_dprc.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include