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
771fa0e4
Commit
771fa0e4
authored
Aug 10, 2014
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau: fix headless mode
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
0d48b58a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
drivers/gpu/drm/nouveau/nouveau_display.c
drivers/gpu/drm/nouveau/nouveau_display.c
+1
-1
drivers/gpu/drm/nouveau/nouveau_drm.c
drivers/gpu/drm/nouveau/nouveau_drm.c
+2
-1
No files found.
drivers/gpu/drm/nouveau/nouveau_display.c
View file @
771fa0e4
...
...
@@ -477,7 +477,7 @@ nouveau_display_create(struct drm_device *dev)
drm_kms_helper_poll_init
(
dev
);
drm_kms_helper_poll_disable
(
dev
);
if
(
drm
->
vbios
.
dcb
.
entries
)
{
if
(
nouveau_modeset
!=
2
&&
drm
->
vbios
.
dcb
.
entries
)
{
static
const
u16
oclass
[]
=
{
GM107_DISP
,
GK110_DISP
,
...
...
drivers/gpu/drm/nouveau/nouveau_drm.c
View file @
771fa0e4
...
...
@@ -306,7 +306,8 @@ static int nouveau_drm_probe(struct pci_dev *pdev,
#ifdef CONFIG_X86
boot
=
pdev
->
resource
[
PCI_ROM_RESOURCE
].
flags
&
IORESOURCE_ROM_SHADOW
;
#endif
remove_conflicting_framebuffers
(
aper
,
"nouveaufb"
,
boot
);
if
(
nouveau_modeset
!=
2
)
remove_conflicting_framebuffers
(
aper
,
"nouveaufb"
,
boot
);
kfree
(
aper
);
ret
=
nouveau_device_create
(
pdev
,
NOUVEAU_BUS_PCI
,
...
...
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