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
d7463eb4
Commit
d7463eb4
authored
May 28, 2008
by
Alex Deucher
Committed by
Dave Airlie
Jun 19, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/radeon: write AGP_BASE_2 on chips that support it.
Signed-off-by:
Dave Airlie
<
airlied@redhat.com
>
parent
45e51905
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
drivers/char/drm/radeon_cp.c
drivers/char/drm/radeon_cp.c
+2
-0
No files found.
drivers/char/drm/radeon_cp.c
View file @
d7463eb4
...
@@ -472,6 +472,8 @@ static void radeon_cp_init_ring_buffer(struct drm_device * dev,
...
@@ -472,6 +472,8 @@ static void radeon_cp_init_ring_buffer(struct drm_device * dev,
#if __OS_HAS_AGP
#if __OS_HAS_AGP
if
(
dev_priv
->
flags
&
RADEON_IS_AGP
)
{
if
(
dev_priv
->
flags
&
RADEON_IS_AGP
)
{
RADEON_WRITE
(
RADEON_AGP_BASE
,
(
unsigned
int
)
dev
->
agp
->
base
);
RADEON_WRITE
(
RADEON_AGP_BASE
,
(
unsigned
int
)
dev
->
agp
->
base
);
if
((
dev_priv
->
flags
&
RADEON_FAMILY_MASK
)
>=
CHIP_R200
)
RADEON_WRITE
(
RADEON_AGP_BASE_2
,
0
);
radeon_write_agp_location
(
dev_priv
,
radeon_write_agp_location
(
dev_priv
,
(((
dev_priv
->
gart_vm_start
-
1
+
(((
dev_priv
->
gart_vm_start
-
1
+
dev_priv
->
gart_size
)
&
0xffff0000
)
|
dev_priv
->
gart_size
)
&
0xffff0000
)
|
...
...
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