Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
756db73d
Commit
756db73d
authored
Feb 08, 2007
by
Thomas Hellstrom
Committed by
Dave Airlie
Feb 08, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/via: Disable AGP DMA for chips with the new 3D engine.
parent
1d58420b
Changes
1
Show 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,
...
@@ -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
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