Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xcap
xcap-capability-linux
Commits
4c5df493
Commit
4c5df493
authored
Oct 28, 2011
by
Ben Skeggs
Browse files
drm/nvc1: hacky workaround to fix accel issues
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
af6d9fe5
Changes
1
Hide whitespace changes
Inline
Side-by-side
drivers/gpu/drm/nouveau/nouveau_state.c
View file @
4c5df493
...
@@ -579,6 +579,14 @@ nouveau_card_init(struct drm_device *dev)
...
@@ -579,6 +579,14 @@ nouveau_card_init(struct drm_device *dev)
if
(
ret
)
if
(
ret
)
goto
out_display_early
;
goto
out_display_early
;
/* workaround an odd issue on nvc1 by disabling the device's
* nosnoop capability. hopefully won't cause issues until a
* better fix is found - assuming there is one...
*/
if
(
dev_priv
->
chipset
==
0xc1
)
{
nv_mask
(
dev
,
0x00088080
,
0x00000800
,
0x00000000
);
}
nouveau_pm_init
(
dev
);
nouveau_pm_init
(
dev
);
ret
=
engine
->
vram
.
init
(
dev
);
ret
=
engine
->
vram
.
init
(
dev
);
...
...
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