projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a4c854
)
agp/sis: Clear bit 2 from aperture size byte as well
author
Stuart Bennett
<sb476@cam.ac.uk>
Tue, 8 Jan 2008 13:13:28 +0000
(13:13 +0000)
committer
Dave Airlie
<airlied@linux.ie>
Tue, 19 Feb 2008 04:44:32 +0000
(14:44 +1000)
SiS M650 has aperture size byte 0x44
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/char/agp/sis-agp.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/agp/sis-agp.c
b/drivers/char/agp/sis-agp.c
index eb1a1c7381900dddec1d173ff530e0b24fe08c56..aaa1883f076cf6fcfb670786303bafaaba3bc518 100644
(file)
--- a/
drivers/char/agp/sis-agp.c
+++ b/
drivers/char/agp/sis-agp.c
@@
-27,8
+27,8
@@
static int sis_fetch_size(void)
values = A_SIZE_8(agp_bridge->driver->aperture_sizes);
for (i = 0; i < agp_bridge->driver->num_aperture_sizes; i++) {
if ((temp_size == values[i].size_value) ||
- ((temp_size & ~(0x0
3
)) ==
- (values[i].size_value & ~(0x0
3
)))) {
+ ((temp_size & ~(0x0
7
)) ==
+ (values[i].size_value & ~(0x0
7
)))) {
agp_bridge->previous_size =
agp_bridge->current_size = (void *) (values + i);