summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUjwal Patel <ujwalp@codeaurora.org>2015-08-06 12:40:47 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:45:10 -0700
commitdf5c12bfaa4609e29d2907deaf00295b9707968a (patch)
treecf9cf4750a1ed00df872935e9bcf8eaeac60e043
parentb9bb2471fadb77ca94f7ee177715ac5672c71755 (diff)
msm: mdss: debug: add additional debug bus probe points for 8996
Add additional debug bus probe points for 8996 to aid in the critical debugging involving MDP related crashes. Change-Id: I6e72062d7bc5fc25e44358363326e3192705511b Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>
-rw-r--r--drivers/video/fbdev/msm/mdss_mdp_debug.c84
1 files changed, 72 insertions, 12 deletions
diff --git a/drivers/video/fbdev/msm/mdss_mdp_debug.c b/drivers/video/fbdev/msm/mdss_mdp_debug.c
index e8a0b2ecb2de..c158211862b8 100644
--- a/drivers/video/fbdev/msm/mdss_mdp_debug.c
+++ b/drivers/video/fbdev/msm/mdss_mdp_debug.c
@@ -25,19 +25,19 @@
static struct debug_bus dbg_bus_8996[] = {
/* Unpack 0 sspp 0*/
- { 0x188, 50, 6 },
- { 0x188, 60, 6 },
- { 0x188, 54, 6 },
- { 0x188, 64, 6 },
- { 0x188, 70, 6 },
- { 0x188, 85, 6 },
+ { 0x188, 50, 2 },
+ { 0x188, 60, 2 },
+ { 0x188, 54, 2 },
+ { 0x188, 64, 2 },
+ { 0x188, 70, 2 },
+ { 0x188, 85, 2 },
/* Upack 0 sspp 1*/
- { 0x298, 50, 6 },
- { 0x298, 60, 6 },
- { 0x298, 54, 6 },
- { 0x298, 64, 6 },
- { 0x298, 70, 6 },
- { 0x298, 85, 6 },
+ { 0x298, 50, 2 },
+ { 0x298, 60, 2 },
+ { 0x298, 54, 2 },
+ { 0x298, 64, 2 },
+ { 0x298, 70, 2 },
+ { 0x298, 85, 2 },
/* scheduler */
{ 0x348, 130, 0 },
{ 0x348, 130, 1 },
@@ -46,6 +46,26 @@ static struct debug_bus dbg_bus_8996[] = {
{ 0x348, 130, 4 },
{ 0x348, 130, 5 },
+ /* qseed */
+ {0x188, 6, 0},
+ {0x188, 6, 1},
+ {0x188, 26, 0},
+ {0x188, 26, 1},
+ {0x298, 6, 0},
+ {0x298, 6, 1},
+ {0x298, 26, 0},
+ {0x298, 26, 1},
+
+ /* scale */
+ {0x188, 16, 0},
+ {0x188, 16, 1},
+ {0x188, 36, 0},
+ {0x188, 36, 1},
+ {0x298, 16, 0},
+ {0x298, 16, 1},
+ {0x298, 36, 0},
+ {0x298, 36, 1},
+
/* fetch sspp0 */
/* vig 0 */
@@ -600,6 +620,46 @@ static struct debug_bus dbg_bus_8996[] = {
{ 0x298, 84, 5 },
{ 0x298, 84, 6 },
{ 0x298, 84, 7 },
+
+ /* dspp */
+ { 0x348, 13, 0 },
+ { 0x348, 19, 0 },
+ { 0x348, 14, 0 },
+ { 0x348, 14, 1 },
+ { 0x348, 14, 3 },
+ { 0x348, 20, 0 },
+ { 0x348, 20, 1 },
+ { 0x348, 20, 3 },
+
+ /* dither */
+ { 0x348, 18, 1 },
+ { 0x348, 24, 1 },
+
+ /* ppb_0 */
+ { 0x348, 31, 0 },
+ { 0x348, 33, 0 },
+ { 0x348, 35, 0 },
+ { 0x348, 42, 0 },
+
+ /* ppb_1 */
+ { 0x348, 32, 0 },
+ { 0x348, 34, 0 },
+ { 0x348, 36, 0 },
+ { 0x348, 43, 0 },
+
+ /* lm_lut */
+ { 0x348, 109, 0 },
+ { 0x348, 105, 0 },
+ { 0x348, 103, 0 },
+ { 0x348, 101, 0 },
+ { 0x348, 99, 0 },
+
+ /* tear-check */
+ { 0x418, 63, 0 },
+ { 0x418, 64, 0 },
+ { 0x418, 65, 0 },
+ { 0x418, 73, 0 },
+ { 0x418, 74, 0 },
};
static struct debug_bus dbg_bus_8994[] = {