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
Kirill Smelkov
linux
Commits
fc21a4a0
Commit
fc21a4a0
authored
Nov 04, 2016
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau/kms: never call drm_helper_disable_unused_functions() with atomic
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
b167db0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
drivers/gpu/drm/nouveau/nouveau_fbcon.c
drivers/gpu/drm/nouveau/nouveau_fbcon.c
+2
-1
No files found.
drivers/gpu/drm/nouveau/nouveau_fbcon.c
View file @
fc21a4a0
...
@@ -535,7 +535,8 @@ nouveau_fbcon_init(struct drm_device *dev)
...
@@ -535,7 +535,8 @@ nouveau_fbcon_init(struct drm_device *dev)
preferred_bpp
=
32
;
preferred_bpp
=
32
;
/* disable all the possible outputs/crtcs before entering KMS mode */
/* disable all the possible outputs/crtcs before entering KMS mode */
drm_helper_disable_unused_functions
(
dev
);
if
(
!
dev
->
mode_config
.
funcs
->
atomic_commit
)
drm_helper_disable_unused_functions
(
dev
);
ret
=
drm_fb_helper_initial_config
(
&
fbcon
->
helper
,
preferred_bpp
);
ret
=
drm_fb_helper_initial_config
(
&
fbcon
->
helper
,
preferred_bpp
);
if
(
ret
)
if
(
ret
)
...
...
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