mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-24 01:41:39 +00:00
drm/radeon/kms: fix typo in r100_blit_copy
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>
This commit is contained in:
parent
db318d7a8a
commit
18b4fada27
1 changed files with 2 additions and 2 deletions
|
@ -773,8 +773,8 @@ int r100_copy_blit(struct radeon_device *rdev,
|
||||||
radeon_ring_write(rdev, (0x1fff) | (0x1fff << 16));
|
radeon_ring_write(rdev, (0x1fff) | (0x1fff << 16));
|
||||||
radeon_ring_write(rdev, 0);
|
radeon_ring_write(rdev, 0);
|
||||||
radeon_ring_write(rdev, (0x1fff) | (0x1fff << 16));
|
radeon_ring_write(rdev, (0x1fff) | (0x1fff << 16));
|
||||||
radeon_ring_write(rdev, num_pages);
|
radeon_ring_write(rdev, cur_pages);
|
||||||
radeon_ring_write(rdev, num_pages);
|
radeon_ring_write(rdev, cur_pages);
|
||||||
radeon_ring_write(rdev, cur_pages | (stride_pixels << 16));
|
radeon_ring_write(rdev, cur_pages | (stride_pixels << 16));
|
||||||
}
|
}
|
||||||
radeon_ring_write(rdev, PACKET0(RADEON_DSTCACHE_CTLSTAT, 0));
|
radeon_ring_write(rdev, PACKET0(RADEON_DSTCACHE_CTLSTAT, 0));
|
||||||
|
|
Loading…
Reference in a new issue