linux/drivers/gpu/drm/amd
Andres Rodriguez 1cf6cc74bb drm/amdkfd: fix clock counter retrieval for node without GPU
Currently if a user requests clock counters for a node without a GPU
resource we will always return EINVAL.

Instead if no GPU resource is attached, fill the gpu_clock_counter
argument with zeroes so that we may proceed and return valid CPU
counters.

Signed-off-by: Andres Rodriguez <andres.rodriguez@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2018-04-24 12:34:44 +03:00
..
acp drm/amdgpu: Remove wrapper layer of cgs irq handling 2018-03-21 14:36:58 -05:00
amdgpu amdgpu, omap and snd regression fix 2018-04-12 20:56:10 -07:00
amdkfd drm/amdkfd: fix clock counter retrieval for node without GPU 2018-04-24 12:34:44 +03:00
display exynos, i915, vc4, amdgpu fixes 2018-04-22 17:14:29 -07:00
include drm/amd/powerplay: Enable ACG SS feature 2018-04-03 13:08:43 -05:00
lib drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
powerplay drm/amd/powerplay: header file interface to SMU update 2018-04-19 10:25:06 -05:00