Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
2c89429e
Commit
2c89429e
authored
Nov 17, 2016
by
Tvrtko Ursulin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/i915: Compact a few pipe config debug lines
Signed-off-by:
Tvrtko Ursulin
<
tvrtko.ursulin@intel.com
>
parent
66766e4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_display.c
+7
-8
No files found.
drivers/gpu/drm/i915/intel_display.c
View file @
2c89429e
...
@@ -12739,8 +12739,8 @@ static void intel_dump_pipe_config(struct intel_crtc *crtc,
...
@@ -12739,8 +12739,8 @@ static void intel_dump_pipe_config(struct intel_crtc *crtc,
DRM_DEBUG_KMS
(
"[CRTC:%d:%s]%s
\n
"
,
DRM_DEBUG_KMS
(
"[CRTC:%d:%s]%s
\n
"
,
crtc
->
base
.
base
.
id
,
crtc
->
base
.
name
,
context
);
crtc
->
base
.
base
.
id
,
crtc
->
base
.
name
,
context
);
DRM_DEBUG_KMS
(
"cpu_transcoder: %s
\n
"
,
transcoder_name
(
pipe_config
->
cpu_transcoder
));
DRM_DEBUG_KMS
(
"cpu_transcoder: %s
, pipe bpp: %i, dithering: %i
\n
"
,
DRM_DEBUG_KMS
(
"pipe bpp: %i, dithering: %i
\n
"
,
transcoder_name
(
pipe_config
->
cpu_transcoder
)
,
pipe_config
->
pipe_bpp
,
pipe_config
->
dither
);
pipe_config
->
pipe_bpp
,
pipe_config
->
dither
);
if
(
pipe_config
->
has_pch_encoder
)
if
(
pipe_config
->
has_pch_encoder
)
...
@@ -12757,16 +12757,15 @@ static void intel_dump_pipe_config(struct intel_crtc *crtc,
...
@@ -12757,16 +12757,15 @@ static void intel_dump_pipe_config(struct intel_crtc *crtc,
}
}
DRM_DEBUG_KMS
(
"audio: %i, infoframes: %i
\n
"
,
DRM_DEBUG_KMS
(
"audio: %i, infoframes: %i
\n
"
,
pipe_config
->
has_audio
,
pipe_config
->
has_audio
,
pipe_config
->
has_infoframe
);
pipe_config
->
has_infoframe
);
DRM_DEBUG_KMS
(
"requested mode:
\n
"
);
DRM_DEBUG_KMS
(
"requested mode:
\n
"
);
drm_mode_debug_printmodeline
(
&
pipe_config
->
base
.
mode
);
drm_mode_debug_printmodeline
(
&
pipe_config
->
base
.
mode
);
DRM_DEBUG_KMS
(
"adjusted mode:
\n
"
);
DRM_DEBUG_KMS
(
"adjusted mode:
\n
"
);
drm_mode_debug_printmodeline
(
&
pipe_config
->
base
.
adjusted_mode
);
drm_mode_debug_printmodeline
(
&
pipe_config
->
base
.
adjusted_mode
);
intel_dump_crtc_timings
(
&
pipe_config
->
base
.
adjusted_mode
);
intel_dump_crtc_timings
(
&
pipe_config
->
base
.
adjusted_mode
);
DRM_DEBUG_KMS
(
"port clock: %d
\n
"
,
pipe_config
->
port_clock
);
DRM_DEBUG_KMS
(
"port clock: %d
, pipe src size: %dx%d
\n
"
,
DRM_DEBUG_KMS
(
"pipe src size: %dx%d
\n
"
,
pipe_config
->
port_clock
,
pipe_config
->
pipe_src_w
,
pipe_config
->
pipe_src_h
);
pipe_config
->
pipe_src_w
,
pipe_config
->
pipe_src_h
);
DRM_DEBUG_KMS
(
"num_scalers: %d, scaler_users: 0x%x, scaler_id: %d
\n
"
,
DRM_DEBUG_KMS
(
"num_scalers: %d, scaler_users: 0x%x, scaler_id: %d
\n
"
,
crtc
->
num_scalers
,
crtc
->
num_scalers
,
...
@@ -12780,8 +12779,8 @@ static void intel_dump_pipe_config(struct intel_crtc *crtc,
...
@@ -12780,8 +12779,8 @@ static void intel_dump_pipe_config(struct intel_crtc *crtc,
pipe_config
->
pch_pfit
.
pos
,
pipe_config
->
pch_pfit
.
pos
,
pipe_config
->
pch_pfit
.
size
,
pipe_config
->
pch_pfit
.
size
,
pipe_config
->
pch_pfit
.
enabled
?
"enabled"
:
"disabled"
);
pipe_config
->
pch_pfit
.
enabled
?
"enabled"
:
"disabled"
);
DRM_DEBUG_KMS
(
"ips: %i
\n
"
,
pipe_config
->
ips_enabled
);
DRM_DEBUG_KMS
(
"ips: %i
, double wide: %i
\n
"
,
DRM_DEBUG_KMS
(
"double wide: %i
\n
"
,
pipe_config
->
double_wide
);
pipe_config
->
ips_enabled
,
pipe_config
->
double_wide
);
if
(
IS_BROXTON
(
dev_priv
))
{
if
(
IS_BROXTON
(
dev_priv
))
{
DRM_DEBUG_KMS
(
"dpll_hw_state: ebb0: 0x%x, ebb4: 0x%x,"
DRM_DEBUG_KMS
(
"dpll_hw_state: ebb0: 0x%x, ebb4: 0x%x,"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment