Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
OpenBMC Firmware
talos-obmc-linux
Commits
756db73d
Commit
756db73d
authored
18 years ago
by
Thomas Hellstrom
Committed by
Dave Airlie
18 years ago
Browse files
Options
Download
Email Patches
Plain Diff
drm/via: Disable AGP DMA for chips with the new 3D engine.
parent
1d58420b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
drivers/char/drm/via_dma.c
drivers/char/drm/via_dma.c
+5
-0
No files found.
drivers/char/drm/via_dma.c
View file @
756db73d
...
...
@@ -190,6 +190,11 @@ static int via_initialize(drm_device_t * dev,
return
DRM_ERR
(
EFAULT
);
}
if
(
dev_priv
->
chipset
==
VIA_DX9_0
)
{
DRM_ERROR
(
"AGP DMA is not supported on this chip
\n
"
);
return
DRM_ERR
(
EINVAL
);
}
dev_priv
->
ring
.
map
.
offset
=
dev
->
agp
->
base
+
init
->
offset
;
dev_priv
->
ring
.
map
.
size
=
init
->
size
;
dev_priv
->
ring
.
map
.
type
=
0
;
...
...
This diff is collapsed.
Click to expand it.
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