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
3e0f27ed
Commit
3e0f27ed
authored
Oct 13, 2009
by
Eric Anholt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/i915: Enable the SDVO debug code, which is now under DEBUG_KMS.
Signed-off-by:
Eric Anholt
<
eric@anholt.net
>
parent
28c97730
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
drivers/gpu/drm/i915/intel_sdvo.c
drivers/gpu/drm/i915/intel_sdvo.c
+0
-10
No files found.
drivers/gpu/drm/i915/intel_sdvo.c
View file @
3e0f27ed
...
...
@@ -36,8 +36,6 @@
#include "i915_drv.h"
#include "intel_sdvo_regs.h"
#undef SDVO_DEBUG
static
char
*
tv_format_names
[]
=
{
"NTSC_M"
,
"NTSC_J"
,
"NTSC_443"
,
"PAL_B"
,
"PAL_D"
,
"PAL_G"
,
...
...
@@ -356,7 +354,6 @@ static const struct _sdvo_cmd_name {
#define SDVO_NAME(dev_priv) ((dev_priv)->output_device == SDVOB ? "SDVOB" : "SDVOC")
#define SDVO_PRIV(output) ((struct intel_sdvo_priv *) (output)->dev_priv)
#ifdef SDVO_DEBUG
static
void
intel_sdvo_debug_write
(
struct
intel_output
*
intel_output
,
u8
cmd
,
void
*
args
,
int
args_len
)
{
...
...
@@ -379,9 +376,6 @@ static void intel_sdvo_debug_write(struct intel_output *intel_output, u8 cmd,
DRM_LOG_KMS
(
"(%02X)"
,
cmd
);
DRM_LOG_KMS
(
"
\n
"
);
}
#else
#define intel_sdvo_debug_write(o, c, a, l)
#endif
static
void
intel_sdvo_write_cmd
(
struct
intel_output
*
intel_output
,
u8
cmd
,
void
*
args
,
int
args_len
)
...
...
@@ -398,7 +392,6 @@ static void intel_sdvo_write_cmd(struct intel_output *intel_output, u8 cmd,
intel_sdvo_write_byte
(
intel_output
,
SDVO_I2C_OPCODE
,
cmd
);
}
#ifdef SDVO_DEBUG
static
const
char
*
cmd_status_names
[]
=
{
"Power on"
,
"Success"
,
...
...
@@ -427,9 +420,6 @@ static void intel_sdvo_debug_response(struct intel_output *intel_output,
DRM_LOG_KMS
(
"(??? %d)"
,
status
);
DRM_LOG_KMS
(
"
\n
"
);
}
#else
#define intel_sdvo_debug_response(o, r, l, s)
#endif
static
u8
intel_sdvo_read_response
(
struct
intel_output
*
intel_output
,
void
*
response
,
int
response_len
)
...
...
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