diff options
author | Marek Olšák <[email protected]> | 2019-05-08 20:49:58 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-05-16 13:15:36 -0400 |
commit | 894e017c9c88a678c8cacd4b51658459c941bc0a (patch) | |
tree | 8d96de7bd2c0fc5bb61c0ac6755914f9c704672a /src/gallium/winsys/amdgpu/drm | |
parent | 4549c3678865236216952f649fa5ed0115fe81b9 (diff) |
r600+radeonsi: use ctx_query_reset_status on radeon
This allows a nice cleanup, because the winsys always handles it.
Diffstat (limited to 'src/gallium/winsys/amdgpu/drm')
-rw-r--r-- | src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c b/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c index e8a6677f378..1430c94d3e4 100644 --- a/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c +++ b/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c @@ -219,9 +219,6 @@ static uint64_t amdgpu_query_value(struct radeon_winsys *rws, case RADEON_CURRENT_MCLK: amdgpu_query_sensor_info(ws->dev, AMDGPU_INFO_SENSOR_GFX_MCLK, 4, &retval); return retval; - case RADEON_GPU_RESET_COUNTER: - assert(0); - return 0; case RADEON_CS_THREAD_TIME: return util_queue_get_thread_time_nano(&ws->cs_queue, 0); } |