Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
da647d5b
Commit
da647d5b
authored
Mar 04, 2010
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau: add option to allow override of dcb connector table types
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
304424e1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletion
+12
-1
drivers/gpu/drm/nouveau/nouveau_bios.c
drivers/gpu/drm/nouveau/nouveau_bios.c
+7
-1
drivers/gpu/drm/nouveau/nouveau_drv.c
drivers/gpu/drm/nouveau/nouveau_drv.c
+4
-0
drivers/gpu/drm/nouveau/nouveau_drv.h
drivers/gpu/drm/nouveau/nouveau_drv.h
+1
-0
No files found.
drivers/gpu/drm/nouveau/nouveau_bios.c
View file @
da647d5b
...
@@ -5287,10 +5287,16 @@ parse_dcb_connector_table(struct nvbios *bios)
...
@@ -5287,10 +5287,16 @@ parse_dcb_connector_table(struct nvbios *bios)
break
;
break
;
default:
default:
cte
->
type
=
divine_connector_type
(
bios
,
cte
->
index
);
cte
->
type
=
divine_connector_type
(
bios
,
cte
->
index
);
NV_WARN
(
dev
,
"unknown type, using 0x%02x"
,
cte
->
type
);
NV_WARN
(
dev
,
"unknown type, using 0x%02x
\n
"
,
cte
->
type
);
break
;
break
;
}
}
if
(
nouveau_override_conntype
)
{
int
type
=
divine_connector_type
(
bios
,
cte
->
index
);
if
(
type
!=
cte
->
type
)
NV_WARN
(
dev
,
" -> type 0x%02x
\n
"
,
cte
->
type
);
}
}
}
}
}
...
...
drivers/gpu/drm/nouveau/nouveau_drv.c
View file @
da647d5b
...
@@ -83,6 +83,10 @@ MODULE_PARM_DESC(nofbaccel, "Disable fbcon acceleration");
...
@@ -83,6 +83,10 @@ MODULE_PARM_DESC(nofbaccel, "Disable fbcon acceleration");
int
nouveau_nofbaccel
=
0
;
int
nouveau_nofbaccel
=
0
;
module_param_named
(
nofbaccel
,
nouveau_nofbaccel
,
int
,
0400
);
module_param_named
(
nofbaccel
,
nouveau_nofbaccel
,
int
,
0400
);
MODULE_PARM_DESC
(
override_conntype
,
"Ignore DCB connector type"
);
int
nouveau_override_conntype
=
0
;
module_param_named
(
override_conntype
,
nouveau_override_conntype
,
int
,
0400
);
MODULE_PARM_DESC
(
tv_norm
,
"Default TV norm.
\n
"
MODULE_PARM_DESC
(
tv_norm
,
"Default TV norm.
\n
"
"
\t\t
Supported: PAL, PAL-M, PAL-N, PAL-Nc, NTSC-M, NTSC-J,
\n
"
"
\t\t
Supported: PAL, PAL-M, PAL-N, PAL-Nc, NTSC-M, NTSC-J,
\n
"
"
\t\t\t
hd480i, hd480p, hd576i, hd576p, hd720p, hd1080i.
\n
"
"
\t\t\t
hd480i, hd480p, hd576i, hd576p, hd720p, hd1080i.
\n
"
...
...
drivers/gpu/drm/nouveau/nouveau_drv.h
View file @
da647d5b
...
@@ -689,6 +689,7 @@ extern int nouveau_ctxfw;
...
@@ -689,6 +689,7 @@ extern int nouveau_ctxfw;
extern
int
nouveau_ignorelid
;
extern
int
nouveau_ignorelid
;
extern
int
nouveau_nofbaccel
;
extern
int
nouveau_nofbaccel
;
extern
int
nouveau_noaccel
;
extern
int
nouveau_noaccel
;
extern
int
nouveau_override_conntype
;
/* nouveau_state.c */
/* nouveau_state.c */
extern
void
nouveau_preclose
(
struct
drm_device
*
dev
,
struct
drm_file
*
);
extern
void
nouveau_preclose
(
struct
drm_device
*
dev
,
struct
drm_file
*
);
...
...
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