projects
/
profile
/
extras
/
intel-gpu-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
503cfa2
)
intel_reg_dumper: use none instead of NULL if no port is assigned to TRANS_DP
author
Jesse Barnes
<jbarnes@virtuousgeek.org>
Tue, 11 Oct 2011 18:37:25 +0000
(11:37 -0700)
committer
Jesse Barnes
<jbarnes@virtuousgeek.org>
Tue, 11 Oct 2011 18:37:25 +0000
(11:37 -0700)
Makes the output a little more readable.
tools/intel_reg_dumper.c
patch
|
blob
|
history
diff --git
a/tools/intel_reg_dumper.c
b/tools/intel_reg_dumper.c
index
f6695a9
..
75b3bc1
100644
(file)
--- a/
tools/intel_reg_dumper.c
+++ b/
tools/intel_reg_dumper.c
@@
-1427,6
+1427,9
@@
DEBUGSTRING(snb_debug_trans_dp_ctl)
case TRANS_DP_PORT_SEL_D:
port = "D";
break;
+ default:
+ port = "none";
+ break;
}
switch (val & (7<<9)) {