Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7819678f authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/radeon/cik: plug in missing blit callback



I implemented support for this, but forget to hook
up the callback so the driver can actually use it.
On asics with a dedicated DMA engine, we use the DMA
engine for buffer migration so this is just for testing
purposes.

Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 1522f9c7
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -2021,7 +2021,7 @@ static struct radeon_asic ci_asic = {
		.hdmi_setmode = &evergreen_hdmi_setmode,
		.hdmi_setmode = &evergreen_hdmi_setmode,
	},
	},
	.copy = {
	.copy = {
		.blit = NULL,
		.blit = &cik_copy_cpdma,
		.blit_ring_index = RADEON_RING_TYPE_GFX_INDEX,
		.blit_ring_index = RADEON_RING_TYPE_GFX_INDEX,
		.dma = &cik_copy_dma,
		.dma = &cik_copy_dma,
		.dma_ring_index = R600_RING_TYPE_DMA_INDEX,
		.dma_ring_index = R600_RING_TYPE_DMA_INDEX,
@@ -2122,7 +2122,7 @@ static struct radeon_asic kv_asic = {
		.hdmi_setmode = &evergreen_hdmi_setmode,
		.hdmi_setmode = &evergreen_hdmi_setmode,
	},
	},
	.copy = {
	.copy = {
		.blit = NULL,
		.blit = &cik_copy_cpdma,
		.blit_ring_index = RADEON_RING_TYPE_GFX_INDEX,
		.blit_ring_index = RADEON_RING_TYPE_GFX_INDEX,
		.dma = &cik_copy_dma,
		.dma = &cik_copy_dma,
		.dma_ring_index = R600_RING_TYPE_DMA_INDEX,
		.dma_ring_index = R600_RING_TYPE_DMA_INDEX,