diff options
author | Marek Olšák <[email protected]> | 2019-11-14 17:43:12 -0500 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-11-19 18:31:53 -0500 |
commit | e9cc4f670f7faf4e95933fe670b3bd13a6efa887 (patch) | |
tree | ce44b61325c9277429f479f40b4193f8a77c2912 /src/gallium/winsys | |
parent | 654efd38bb49daa0040ffbc6b046a6d3ba4cdb4f (diff) |
ac: add radeon_info::num_rings and move ring_type to amd_family.h
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r-- | src/gallium/winsys/radeon/drm/radeon_drm_winsys.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c index 36d506b4928..0177fe110c2 100644 --- a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c +++ b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c @@ -304,10 +304,10 @@ static bool do_winsys_init(struct radeon_drm_winsys *ws) } /* Check for dma */ - ws->info.num_sdma_rings = 0; + ws->info.num_rings[RING_DMA] = 0; /* DMA is disabled on R700. There is IB corruption and hangs. */ if (ws->info.chip_class >= EVERGREEN && ws->info.drm_minor >= 27) { - ws->info.num_sdma_rings = 1; + ws->info.num_rings[RING_DMA] = 1; } /* Check for UVD and VCE */ |