Skip to content

Commit

Permalink
drm/msm/mdp5: add support for MDP5 v1.3
Browse files Browse the repository at this point in the history
MDP5 has several functional blocks (ie: VIG/RGB pipes, LMs, ...).
From one revision to another, these blocks' base addresses might
change due to the number of instances present in the MDP5 hw.
A way of dealing with these offset changes is to introduce
dynamic offsets 'per block'.

This change adds support for the new revision of MDP5: v1.3.
The idea is to define one hw config per MDP version and select
either one of them at runtime, after reading the MDP5 version.

Once the MDP version is known, 'per block' dynamic offsets
are initialized through a global pointer, which is then used for
read/write register access.

Signed-off-by: Stephane Viau <sviau@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
  • Loading branch information
Stephane Viau authored and Rob Clark committed Aug 4, 2014
1 parent a1ad352 commit 3d47fd4
Show file tree
Hide file tree
Showing 3 changed files with 421 additions and 180 deletions.
Loading

0 comments on commit 3d47fd4

Please sign in to comment.