projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db318d7
)
drm/radeon/kms: fix typo in r100_blit_copy
author
Alex Deucher
<alexander.deucher@amd.com>
Fri, 16 Sep 2011 16:04:07 +0000
(12:04 -0400)
committer
Dave Airlie
<airlied@redhat.com>
Sun, 18 Sep 2011 18:43:42 +0000
(19:43 +0100)
cur_pages is the number of pages per loop iteration.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r100.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/radeon/r100.c
b/drivers/gpu/drm/radeon/r100.c
index 11e44a3479e309786aec916c47633973bac6d01b..a536505342d82e508b961c400cc4dc7cf0064f0f 100644
(file)
--- a/
drivers/gpu/drm/radeon/r100.c
+++ b/
drivers/gpu/drm/radeon/r100.c
@@
-773,8
+773,8
@@
int r100_copy_blit(struct radeon_device *rdev,
radeon_ring_write(rdev, (0x1fff) | (0x1fff << 16));
radeon_ring_write(rdev, 0);
radeon_ring_write(rdev, (0x1fff) | (0x1fff << 16));
- radeon_ring_write(rdev,
num
_pages);
- radeon_ring_write(rdev,
num
_pages);
+ radeon_ring_write(rdev,
cur
_pages);
+ radeon_ring_write(rdev,
cur
_pages);
radeon_ring_write(rdev, cur_pages | (stride_pixels << 16));
}
radeon_ring_write(rdev, PACKET0(RADEON_DSTCACHE_CTLSTAT, 0));