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
3722bfc6
Commit
3722bfc6
authored
May 28, 2008
by
Dave Airlie
Committed by
Dave Airlie
Jun 19, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/rs690: set base 2 to 0.
Signed-off-by:
Dave Airlie
<
airlied@redhat.com
>
parent
fa0d71b9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
drivers/char/drm/radeon_cp.c
drivers/char/drm/radeon_cp.c
+2
-0
drivers/char/drm/radeon_drv.h
drivers/char/drm/radeon_drv.h
+1
-0
No files found.
drivers/char/drm/radeon_cp.c
View file @
3722bfc6
...
...
@@ -669,6 +669,8 @@ static void radeon_set_rs690gart(drm_radeon_private_t *dev_priv, int on)
RS690_WRITE_MCIND
(
RS690_MC_AGP_BASE
,
(
unsigned
int
)
dev_priv
->
gart_vm_start
);
RS690_WRITE_MCIND
(
RS690_MC_AGP_BASE_2
,
0
);
dev_priv
->
gart_size
=
32
*
1024
*
1024
;
temp
=
(((
dev_priv
->
gart_vm_start
-
1
+
dev_priv
->
gart_size
)
&
0xffff0000
)
|
(
dev_priv
->
gart_vm_start
>>
16
));
...
...
drivers/char/drm/radeon_drv.h
View file @
3722bfc6
...
...
@@ -497,6 +497,7 @@ extern int r300_do_cp_cmdbuf(struct drm_device * dev,
#define RS690_MC_FB_LOCATION 0x100
#define RS690_MC_AGP_LOCATION 0x101
#define RS690_MC_AGP_BASE 0x102
#define RS690_MC_AGP_BASE_2 0x103
#define R520_MC_IND_INDEX 0x70
#define R520_MC_IND_WR_EN (1<<24)
...
...
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