summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.h
diff options
context:
space:
mode:
authorStephane Viau2015-09-15 14:41:44 +0200
committerRob Clark2015-10-22 21:39:54 +0200
commit60fb49ca52ec304a937bcee14ae6acbe1e75562b (patch)
tree2c4a81ba3deea725f172154122c42ae980c853cd /drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.h
parentdrm/msm/dsi: Updata LNn_CFG4 register settings for 28nm PHY (diff)
downloadkernel-qcow2-linux-60fb49ca52ec304a937bcee14ae6acbe1e75562b.tar.gz
kernel-qcow2-linux-60fb49ca52ec304a937bcee14ae6acbe1e75562b.tar.xz
kernel-qcow2-linux-60fb49ca52ec304a937bcee14ae6acbe1e75562b.zip
drm/msm/mdp5: remove the cfg pointer from SMP struct
We want to make sure we control all the information being passed down to SMP block. Having access to the cfg pointer here may create bad things in the future. Signed-off-by: Stephane Viau <sviau@codeaurora.org> Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.h')
-rw-r--r--drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.h b/drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.h
index efb918d9f68b..a6facafed3bb 100644
--- a/drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.h
+++ b/drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.h
@@ -61,7 +61,7 @@ struct mdp5_smp_block {
int mmb_size; /* MMB: size in bytes */
uint32_t clients[MAX_CLIENTS]; /* SMP port allocation /pipe */
mdp5_smp_state_t reserved_state;/* SMP MMBs statically allocated */
- int reserved[MAX_CLIENTS]; /* # of MMBs allocated per client */
+ uint8_t reserved[MAX_CLIENTS]; /* # of MMBs allocated per client */
};
#define MDP5_INTF_NUM_MAX 5