diff options
author | Marek Olšák <[email protected]> | 2018-05-02 18:53:24 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-05-10 18:39:57 -0400 |
commit | e720cb61354167e5ff75202affe86185a18386ba (patch) | |
tree | 69b39bffd38ffa7215915786c4e8831147336e95 /src/gallium/winsys/radeon | |
parent | 3060f62340b2f232907db0c48b6c6c6eba3d1752 (diff) |
radeonsi: clean up the reset status query implementation
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/winsys/radeon')
-rw-r--r-- | src/gallium/winsys/radeon/drm/radeon_drm_winsys.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c index d7ecfe9f240..7189b61ef11 100644 --- a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c +++ b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c @@ -534,6 +534,8 @@ static bool do_winsys_init(struct radeon_drm_winsys *ws) ws->info.drm_minor >= 38; ws->info.si_TA_CS_BC_BASE_ADDR_allowed = ws->info.drm_minor >= 48; ws->info.has_bo_metadata = false; + ws->info.has_gpu_reset_status_query = false; + ws->info.has_gpu_reset_counter_query = ws->info.drm_minor >= 43; ws->check_vm = strstr(debug_get_option("R600_DEBUG", ""), "check_vm") != NULL; |