drm/msm/mdp5: Update the register offsets of MDP5 sub-blocks
authorArchit Taneja <architt@codeaurora.org>
Mon, 9 May 2016 06:44:49 +0000 (12:14 +0530)
committerRob Clark <robdclark@gmail.com>
Sat, 16 Jul 2016 14:08:58 +0000 (10:08 -0400)
commit031d63dd9d06b7f70b060e461b18ccdd2e7e80bc
treeada4cc61b3e8ad2f1ce79a57e810fc613be3c7a0
parent7b59c7e44940cae1b5506ab9fbe69d7bd202b3ca
drm/msm/mdp5: Update the register offsets of MDP5 sub-blocks

The MDP5 sub-block register offsets are relative to the top level
MDSS register address.

Now that we have the start of MDP5 register address space, provide
the offsets relative to that. This involves subtracting the offsets
with 0x1000 or 0x100 depending on the MDP5 version.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.c