drm/radeon/kms: simplify r6xx blit code
Covert 4k pages to multiples of 64x64x4 tiles. This is also more efficient than a scanline based approach from the MC's perspective. Signed-off-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Ilija Hadzic <ihadzic@research.bell-labs.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
committed by
Dave Airlie
parent
eb32d0c34e
commit
7dbf41db32
@@ -364,11 +364,11 @@ void r600_hdmi_init(struct drm_encoder *encoder);
|
||||
int r600_hdmi_buffer_status_changed(struct drm_encoder *encoder);
|
||||
void r600_hdmi_update_audio_settings(struct drm_encoder *encoder);
|
||||
/* r600 blit */
|
||||
int r600_blit_prepare_copy(struct radeon_device *rdev, int size_bytes);
|
||||
int r600_blit_prepare_copy(struct radeon_device *rdev, unsigned num_pages);
|
||||
void r600_blit_done_copy(struct radeon_device *rdev, struct radeon_fence *fence);
|
||||
void r600_kms_blit_copy(struct radeon_device *rdev,
|
||||
u64 src_gpu_addr, u64 dst_gpu_addr,
|
||||
int size_bytes);
|
||||
unsigned num_pages);
|
||||
|
||||
/*
|
||||
* rv770,rv730,rv710,rv740
|
||||
|
||||
Reference in New Issue
Block a user