Searched refs:gfx_off_mutex (Results 1 – 3 of 3) sorted by relevance
792 mutex_lock(&adev->gfx.gfx_off_mutex); in amdgpu_gfx_off_ctrl()836 mutex_unlock(&adev->gfx.gfx_off_mutex); in amdgpu_gfx_off_ctrl()843 mutex_lock(&adev->gfx.gfx_off_mutex); in amdgpu_set_gfx_off_residency()847 mutex_unlock(&adev->gfx.gfx_off_mutex); in amdgpu_set_gfx_off_residency()856 mutex_lock(&adev->gfx.gfx_off_mutex); in amdgpu_get_gfx_off_residency()860 mutex_unlock(&adev->gfx.gfx_off_mutex); in amdgpu_get_gfx_off_residency()869 mutex_lock(&adev->gfx.gfx_off_mutex); in amdgpu_get_gfx_off_entrycount()873 mutex_unlock(&adev->gfx.gfx_off_mutex); in amdgpu_get_gfx_off_entrycount()883 mutex_lock(&adev->gfx.gfx_off_mutex); in amdgpu_get_gfx_off_status()887 mutex_unlock(&adev->gfx.gfx_off_mutex); in amdgpu_get_gfx_off_status()
432 struct mutex gfx_off_mutex; /* mutex to change gfxoff state */ member
4210 mutex_init(&adev->gfx.gfx_off_mutex); in amdgpu_device_init()