179,7 → 179,7 |
* ASIC |
*/ |
|
static struct radeon_asic_ring r100_gfx_ring = { |
static const struct radeon_asic_ring r100_gfx_ring = { |
.ib_execute = &r100_ring_ib_execute, |
.emit_fence = &r100_fence_ring_emit, |
.emit_semaphore = &r100_semaphore_ring_emit, |
328,7 → 328,7 |
}, |
}; |
|
static struct radeon_asic_ring r300_gfx_ring = { |
static const struct radeon_asic_ring r300_gfx_ring = { |
.ib_execute = &r100_ring_ib_execute, |
.emit_fence = &r300_fence_ring_emit, |
.emit_semaphore = &r100_semaphore_ring_emit, |
342,7 → 342,7 |
.set_wptr = &r100_gfx_set_wptr, |
}; |
|
static struct radeon_asic_ring rv515_gfx_ring = { |
static const struct radeon_asic_ring rv515_gfx_ring = { |
.ib_execute = &r100_ring_ib_execute, |
.emit_fence = &r300_fence_ring_emit, |
.emit_semaphore = &r100_semaphore_ring_emit, |
900,7 → 900,7 |
}, |
}; |
|
static struct radeon_asic_ring r600_gfx_ring = { |
static const struct radeon_asic_ring r600_gfx_ring = { |
.ib_execute = &r600_ring_ib_execute, |
.emit_fence = &r600_fence_ring_emit, |
.emit_semaphore = &r600_semaphore_ring_emit, |
913,7 → 913,7 |
.set_wptr = &r600_gfx_set_wptr, |
}; |
|
static struct radeon_asic_ring r600_dma_ring = { |
static const struct radeon_asic_ring r600_dma_ring = { |
.ib_execute = &r600_dma_ring_ib_execute, |
.emit_fence = &r600_dma_fence_ring_emit, |
.emit_semaphore = &r600_dma_semaphore_ring_emit, |
998,7 → 998,7 |
}, |
}; |
|
static struct radeon_asic_ring rv6xx_uvd_ring = { |
static const struct radeon_asic_ring rv6xx_uvd_ring = { |
.ib_execute = &uvd_v1_0_ib_execute, |
.emit_fence = &uvd_v1_0_fence_emit, |
.emit_semaphore = &uvd_v1_0_semaphore_emit, |
1197,7 → 1197,7 |
}, |
}; |
|
static struct radeon_asic_ring rv770_uvd_ring = { |
static const struct radeon_asic_ring rv770_uvd_ring = { |
.ib_execute = &uvd_v1_0_ib_execute, |
.emit_fence = &uvd_v2_2_fence_emit, |
.emit_semaphore = &uvd_v2_2_semaphore_emit, |
1304,7 → 1304,7 |
}, |
}; |
|
static struct radeon_asic_ring evergreen_gfx_ring = { |
static const struct radeon_asic_ring evergreen_gfx_ring = { |
.ib_execute = &evergreen_ring_ib_execute, |
.emit_fence = &r600_fence_ring_emit, |
.emit_semaphore = &r600_semaphore_ring_emit, |
1317,7 → 1317,7 |
.set_wptr = &r600_gfx_set_wptr, |
}; |
|
static struct radeon_asic_ring evergreen_dma_ring = { |
static const struct radeon_asic_ring evergreen_dma_ring = { |
.ib_execute = &evergreen_dma_ring_ib_execute, |
.emit_fence = &evergreen_dma_fence_ring_emit, |
.emit_semaphore = &r600_dma_semaphore_ring_emit, |
1609,7 → 1609,7 |
}, |
}; |
|
static struct radeon_asic_ring cayman_gfx_ring = { |
static const struct radeon_asic_ring cayman_gfx_ring = { |
.ib_execute = &cayman_ring_ib_execute, |
.ib_parse = &evergreen_ib_parse, |
.emit_fence = &cayman_fence_ring_emit, |
1624,7 → 1624,7 |
.set_wptr = &cayman_gfx_set_wptr, |
}; |
|
static struct radeon_asic_ring cayman_dma_ring = { |
static const struct radeon_asic_ring cayman_dma_ring = { |
.ib_execute = &cayman_dma_ring_ib_execute, |
.ib_parse = &evergreen_dma_ib_parse, |
.emit_fence = &evergreen_dma_fence_ring_emit, |
1639,7 → 1639,7 |
.set_wptr = &cayman_dma_set_wptr |
}; |
|
static struct radeon_asic_ring cayman_uvd_ring = { |
static const struct radeon_asic_ring cayman_uvd_ring = { |
.ib_execute = &uvd_v1_0_ib_execute, |
.emit_fence = &uvd_v2_2_fence_emit, |
.emit_semaphore = &uvd_v3_1_semaphore_emit, |
1757,7 → 1757,7 |
}, |
}; |
|
static struct radeon_asic_ring trinity_vce_ring = { |
static const struct radeon_asic_ring trinity_vce_ring = { |
.ib_execute = &radeon_vce_ib_execute, |
.emit_fence = &radeon_vce_fence_emit, |
.emit_semaphore = &radeon_vce_semaphore_emit, |
1878,7 → 1878,7 |
}, |
}; |
|
static struct radeon_asic_ring si_gfx_ring = { |
static const struct radeon_asic_ring si_gfx_ring = { |
.ib_execute = &si_ring_ib_execute, |
.ib_parse = &si_ib_parse, |
.emit_fence = &si_fence_ring_emit, |
1893,7 → 1893,7 |
.set_wptr = &cayman_gfx_set_wptr, |
}; |
|
static struct radeon_asic_ring si_dma_ring = { |
static const struct radeon_asic_ring si_dma_ring = { |
.ib_execute = &cayman_dma_ring_ib_execute, |
.ib_parse = &evergreen_dma_ib_parse, |
.emit_fence = &evergreen_dma_fence_ring_emit, |
2020,7 → 2020,7 |
}, |
}; |
|
static struct radeon_asic_ring ci_gfx_ring = { |
static const struct radeon_asic_ring ci_gfx_ring = { |
.ib_execute = &cik_ring_ib_execute, |
.ib_parse = &cik_ib_parse, |
.emit_fence = &cik_fence_gfx_ring_emit, |
2035,7 → 2035,7 |
.set_wptr = &cik_gfx_set_wptr, |
}; |
|
static struct radeon_asic_ring ci_cp_ring = { |
static const struct radeon_asic_ring ci_cp_ring = { |
.ib_execute = &cik_ring_ib_execute, |
.ib_parse = &cik_ib_parse, |
.emit_fence = &cik_fence_compute_ring_emit, |
2050,7 → 2050,7 |
.set_wptr = &cik_compute_set_wptr, |
}; |
|
static struct radeon_asic_ring ci_dma_ring = { |
static const struct radeon_asic_ring ci_dma_ring = { |
.ib_execute = &cik_sdma_ring_ib_execute, |
.ib_parse = &cik_ib_parse, |
.emit_fence = &cik_sdma_fence_ring_emit, |
2065,7 → 2065,7 |
.set_wptr = &cik_sdma_set_wptr, |
}; |
|
static struct radeon_asic_ring ci_vce_ring = { |
static const struct radeon_asic_ring ci_vce_ring = { |
.ib_execute = &radeon_vce_ib_execute, |
.emit_fence = &radeon_vce_fence_emit, |
.emit_semaphore = &radeon_vce_semaphore_emit, |