]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit87aaf6a357d7b2f05bec76a7d20da80a1a3b2eb4
treeada4cc61b3e8ad2f1ce79a57e810fc613be3c7a0
parent60e1afa278b9cf9aed79aee1a4f9bccb57549823
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