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
0ec487a1
Commit
0ec487a1
authored
Aug 15, 2003
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[AGPGART] Masks cleanup for ATI GART
parent
b082d0d2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
drivers/char/agp/ati-agp.c
drivers/char/agp/ati-agp.c
+2
-8
No files found.
drivers/char/agp/ati-agp.c
View file @
0ec487a1
...
...
@@ -22,7 +22,7 @@ static struct aper_size_info_lvl2 ati_generic_sizes[7] =
static
struct
gatt_mask
ati_generic_masks
[]
=
{
{
0x00000001
,
0
}
{
.
mask
=
1
,
.
type
=
0
}
};
...
...
@@ -236,12 +236,6 @@ static int ati_configure(void)
return
0
;
}
static
unsigned
long
ati_mask_memory
(
unsigned
long
addr
,
int
type
)
{
/* Memory type is ignored */
return
addr
|
agp_bridge
->
driver
->
masks
[
0
].
mask
;
}
/*
*Since we don't need contigious memory we just try
...
...
@@ -401,7 +395,7 @@ struct agp_bridge_driver ati_generic_bridge = {
.
fetch_size
=
ati_fetch_size
,
.
cleanup
=
ati_cleanup
,
.
tlb_flush
=
ati_tlbflush
,
.
mask_memory
=
a
ti
_mask_memory
,
.
mask_memory
=
a
gp_generic
_mask_memory
,
.
masks
=
ati_generic_masks
,
.
agp_enable
=
agp_generic_enable
,
.
cache_flush
=
global_cache_flush
,
...
...
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