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
756db73d
Commit
756db73d
authored
Feb 08, 2007
by
Thomas Hellstrom
Committed by
Dave Airlie
Feb 08, 2007
Browse files
drm/via: Disable AGP DMA for chips with the new 3D engine.
parent
1d58420b
Changes
1
Hide whitespace changes
Inline
Side-by-side
drivers/char/drm/via_dma.c
View file @
756db73d
...
@@ -190,6 +190,11 @@ static int via_initialize(drm_device_t * dev,
...
@@ -190,6 +190,11 @@ static int via_initialize(drm_device_t * dev,
return
DRM_ERR
(
EFAULT
);
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
.
offset
=
dev
->
agp
->
base
+
init
->
offset
;
dev_priv
->
ring
.
map
.
size
=
init
->
size
;
dev_priv
->
ring
.
map
.
size
=
init
->
size
;
dev_priv
->
ring
.
map
.
type
=
0
;
dev_priv
->
ring
.
map
.
type
=
0
;
...
...
Write
Preview
Supports
Markdown
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