MLK-17924 gpu: imx: imx8_dprc: Do not set FRAME_2P_PIX_X/Y_CTRL for updated IP
authorLiu Ying <victor.liu@nxp.com>
Mon, 26 Mar 2018 08:05:03 +0000 (16:05 +0800)
committerHaibo Chen <haibo.chen@nxp.com>
Thu, 12 Apr 2018 10:46:36 +0000 (18:46 +0800)
commit36697cc2c1fda7f76059ff2e26c745ee5adef01b
tree4b411cfd8a4f17d708162e4783ea141cb2470963
parent1ae552181bb125760f99a360fcdf202e720f8ecd
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 <victor.liu@nxp.com>
drivers/gpu/imx/imx8_dprc.c