From: Liu Ying Date: Mon, 26 Mar 2018 08:05:03 +0000 (+0800) Subject: MLK-17924 gpu: imx: imx8_dprc: Do not set FRAME_2P_PIX_X/Y_CTRL for updated IP X-Git-Tag: C0P2-H0.0--20200415~81 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=36697cc2c1fda7f76059ff2e26c745ee5adef01b;p=linux.git 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 --- 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