Searched refs:gfx_off_mutex (Results 1 – 3 of 3) sorted by relevance
691 mutex_lock(&adev->gfx.gfx_off_mutex); in amdgpu_gfx_off_ctrl()735 mutex_unlock(&adev->gfx.gfx_off_mutex); in amdgpu_gfx_off_ctrl()742 mutex_lock(&adev->gfx.gfx_off_mutex); in amdgpu_set_gfx_off_residency()746 mutex_unlock(&adev->gfx.gfx_off_mutex); in amdgpu_set_gfx_off_residency()755 mutex_lock(&adev->gfx.gfx_off_mutex); in amdgpu_get_gfx_off_residency()759 mutex_unlock(&adev->gfx.gfx_off_mutex); in amdgpu_get_gfx_off_residency()768 mutex_lock(&adev->gfx.gfx_off_mutex); in amdgpu_get_gfx_off_entrycount()772 mutex_unlock(&adev->gfx.gfx_off_mutex); in amdgpu_get_gfx_off_entrycount()782 mutex_lock(&adev->gfx.gfx_off_mutex); in amdgpu_get_gfx_off_status()786 mutex_unlock(&adev->gfx.gfx_off_mutex); in amdgpu_get_gfx_off_status()
417 struct mutex gfx_off_mutex; /* mutex to change gfxoff state */ member
3558 mutex_init(&adev->gfx.gfx_off_mutex); in amdgpu_device_init()