Home
last modified time | relevance | path

Searched refs:gpu_clock_mutex (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_gfx.h348 struct mutex gpu_clock_mutex; member
H A Dgfx_v6_0.c2928 mutex_lock(&adev->gfx.gpu_clock_mutex); in gfx_v6_0_get_gpu_clock_counter()
2932 mutex_unlock(&adev->gfx.gpu_clock_mutex); in gfx_v6_0_get_gpu_clock_counter()
H A Dgfx_v7_0.c4028 mutex_lock(&adev->gfx.gpu_clock_mutex); in gfx_v7_0_get_gpu_clock_counter()
4032 mutex_unlock(&adev->gfx.gpu_clock_mutex); in gfx_v7_0_get_gpu_clock_counter()
H A Dgfx_v9_4_3.c343 mutex_lock(&adev->gfx.gpu_clock_mutex); in gfx_v9_4_3_get_gpu_clock_counter()
347 mutex_unlock(&adev->gfx.gpu_clock_mutex); in gfx_v9_4_3_get_gpu_clock_counter()
H A Dgfx_v11_0.c4591 mutex_lock(&adev->gfx.gpu_clock_mutex); in gfx_v11_0_get_gpu_clock_counter()
4597 mutex_unlock(&adev->gfx.gpu_clock_mutex); in gfx_v11_0_get_gpu_clock_counter()
H A Dgfx_v8_0.c5146 mutex_lock(&adev->gfx.gpu_clock_mutex); in gfx_v8_0_get_gpu_clock_counter()
5150 mutex_unlock(&adev->gfx.gpu_clock_mutex); in gfx_v8_0_get_gpu_clock_counter()
H A Dgfx_v9_0.c4019 mutex_lock(&adev->gfx.gpu_clock_mutex); in gfx_v9_0_get_gpu_clock_counter()
4027 mutex_unlock(&adev->gfx.gpu_clock_mutex); in gfx_v9_0_get_gpu_clock_counter()
H A Damdgpu_device.c3556 mutex_init(&adev->gfx.gpu_clock_mutex); in amdgpu_device_init()
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_device.c1314 mutex_init(&rdev->gpu_clock_mutex); in radeon_device_init()
H A Dr600.c4611 mutex_lock(&rdev->gpu_clock_mutex); in r600_get_gpu_clock_counter()
4615 mutex_unlock(&rdev->gpu_clock_mutex); in r600_get_gpu_clock_counter()
H A Dsi.c6986 mutex_lock(&rdev->gpu_clock_mutex); in si_get_gpu_clock_counter()
6990 mutex_unlock(&rdev->gpu_clock_mutex); in si_get_gpu_clock_counter()
H A Dradeon.h2423 struct mutex gpu_clock_mutex; member
H A Dcik.c9399 mutex_lock(&rdev->gpu_clock_mutex); in cik_get_gpu_clock_counter()
9403 mutex_unlock(&rdev->gpu_clock_mutex); in cik_get_gpu_clock_counter()