Home
last modified time | relevance | path

Searched refs:gfx_off_req_count (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gfx.c559 adev->gfx.gfx_off_req_count++; in amdgpu_gfx_off_ctrl()
560 else if (adev->gfx.gfx_off_req_count > 0) in amdgpu_gfx_off_ctrl()
561 adev->gfx.gfx_off_req_count--; in amdgpu_gfx_off_ctrl()
563 if (enable && !adev->gfx.gfx_off_state && !adev->gfx.gfx_off_req_count) { in amdgpu_gfx_off_ctrl()
Damdgpu_gfx.h321 …uint32_t gfx_off_req_count; /* default 1, enable gfx off: dec 1, disable gf… member
Damdgpu_device.c2157 if (!adev->gfx.gfx_off_state && !adev->gfx.gfx_off_req_count) { in amdgpu_device_delay_enable_gfx_off()
2666 adev->gfx.gfx_off_req_count = 1; in amdgpu_device_init()