linux_dsm_epyc7002/drivers/gpu/drm/amd
Mikita Lipski ad8960a6cb drm/amd/display: Check if clock source in use before disabling
[why]
We are disabling clock source while other pipes are still using
it, because we don't verify the number of pipes that share it.

[how]
- Adding a function in resources to return the number of pipes
sharing the clock source.
- Checking that no one is sharing the clock source before disabling

Signed-off-by: Mikita Lipski <mikita.lipski@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
2018-08-13 17:29:11 -05:00
..
acp drm/amdgpu: Remove wrapper layer of cgs irq handling 2018-03-21 14:36:58 -05:00
amdgpu drm/amdgpu/vce: VCE entity initialization relies on ring initializtion 2018-08-13 17:21:29 -05:00
amdkfd drm/amdkfd: Call kfd2kgd.set_compute_idle 2018-07-16 19:10:37 -04:00
display drm/amd/display: Check if clock source in use before disabling 2018-08-13 17:29:11 -05:00
include Merge branch 'drm-next-4.19' of git://people.freedesktop.org/~agd5f/linux into drm-next 2018-08-08 06:22:23 +10:00
lib
powerplay Merge branch 'drm-next-4.19' of git://people.freedesktop.org/~agd5f/linux into drm-next 2018-08-08 06:22:23 +10:00