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
nexedi
linux
Commits
9097eef0
Commit
9097eef0
authored
Dec 14, 2010
by
Chris Wilson
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'drm-intel-fixes' into drm-intel-next
parents
b13c2b96
71f45660
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
drivers/char/agp/intel-gtt.c
drivers/char/agp/intel-gtt.c
+9
-2
No files found.
drivers/char/agp/intel-gtt.c
View file @
9097eef0
...
...
@@ -1135,12 +1135,19 @@ static void i9xx_chipset_flush(void)
writel
(
1
,
intel_private
.
i9xx_flush_page
);
}
static
void
i965_write_entry
(
dma_addr_t
addr
,
unsigned
int
entry
,
static
void
i965_write_entry
(
dma_addr_t
addr
,
unsigned
int
entry
,
unsigned
int
flags
)
{
u32
pte_flags
;
pte_flags
=
I810_PTE_VALID
;
if
(
flags
==
AGP_USER_CACHED_MEMORY
)
pte_flags
|=
I830_PTE_SYSTEM_CACHED
;
/* Shift high bits down */
addr
|=
(
addr
>>
28
)
&
0xf0
;
writel
(
addr
|
I810_PTE_VALID
,
intel_private
.
gtt
+
entry
);
writel
(
addr
|
pte_flags
,
intel_private
.
gtt
+
entry
);
}
static
bool
gen6_check_flags
(
unsigned
int
flags
)
...
...
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