linux/drivers/gpu/drm/amd/display/dc
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
..
basics drm/amd/display: Convert remaining loggers off dc_logger 2018-07-13 14:48:42 -05:00
bios drm/amd/display: update clk for various HDMI color depths 2018-08-06 15:57:29 -05:00
calcs drm/amd/display: separate dc_debug into dc_debug_options and dc_debug data 2018-07-24 15:15:59 -05:00
core drm/amd/display: Check if clock source in use before disabling 2018-08-13 17:29:11 -05:00
dce drm/amd/display: display connected to dp-1 does not light up 2018-08-06 15:57:51 -05:00
dce80 drm/amd/display: Don't share clk source between DP and HDMI 2018-08-06 14:35:43 -05:00
dce100 drm/amd/display: Don't share clk source between DP and HDMI 2018-08-06 14:35:43 -05:00
dce110 drm/amd/display: Check if clock source in use before disabling 2018-08-13 17:29:11 -05:00
dce112 drm/amd/display: Destroy aux_engines only once 2018-08-06 14:35:24 -05:00
dce120 drm/amd/display: Fix warning observed in mode change on Vega 2018-08-13 17:22:08 -05:00
dcn10 drm/amd/display: program display clock on cache match 2018-08-06 15:57:12 -05:00
dml drm/amd/display: update dml to match DV dml 2018-07-13 14:52:13 -05:00
gpio drm/amdgpu/display: Replace CONFIG_DRM_AMD_DC_DCN1_0 with CONFIG_X86 2018-07-19 13:56:43 -05:00
i2caux drm/amd/display: Decouple aux from i2c 2018-07-24 15:15:50 -05:00
inc drm/amd/display: Check if clock source in use before disabling 2018-08-13 17:29:11 -05:00
irq drm/amdgpu/display: Replace CONFIG_DRM_AMD_DC_DCN1_0 with CONFIG_X86 2018-07-19 13:56:43 -05:00
virtual drm/amd/display: Pass signal directly to enable_tmds_output 2018-03-07 16:27:20 -05:00
dc.h drm/amd/display: display connected to dp-1 does not light up 2018-08-06 15:57:51 -05:00
dc_bios_types.h drm/amd/display: get board layout for edid emulation 2018-07-05 16:38:45 -05:00
dc_ddc_types.h drm/amd/display: Move i2c and aux structs into dc_ddc_types.h 2018-06-15 12:23:38 -05:00
dc_dp_types.h drm/amd/display: Write TEST_EDID_CHECKSUM_WRITE for EDID tests 2018-06-15 12:22:09 -05:00
dc_helper.c drm/amd/display: generic indirect register access 2018-07-13 14:47:33 -05:00
dc_hw_types.h drm/amd/display: Implement custom degamma lut on dcn 2018-08-06 14:35:25 -05:00
dc_link.h drm/amd/display: add vbios table check for enabling dp ss 2018-08-06 15:56:54 -05:00
dc_stream.h drm/amd/display: Refactor SDR cursor boosting in HDR mode 2018-07-16 16:11:49 -05:00
dc_types.h drm/amd/display: Patch for extend time to panel poweron. 2018-07-13 14:49:29 -05:00
dm_helpers.h drm/amd/display: Add hook for MST root branch info 2018-07-16 16:11:49 -05:00
dm_pp_smu.h drm/amd/display: Introduce pp-smu raven functions 2018-07-05 16:38:30 -05:00
dm_services.h amdgpu: display: use modern ktime accessors 2018-06-19 13:17:38 -05:00
dm_services_types.h drm/amd/display: Fix a typo in wm_min_memg_clk_in_khz 2018-07-05 16:38:51 -05:00
irq_types.h drm/amd/display: get rid of 32.32 unsigned fixed point 2018-05-18 16:08:21 -05:00
Makefile drm/amdgpu/display: Replace CONFIG_DRM_AMD_DC_DCN1_0 with CONFIG_X86 2018-07-19 13:56:43 -05:00
os_types.h drm/amdgpu/display: Replace CONFIG_DRM_AMD_DC_DCN1_0 with CONFIG_X86 2018-07-19 13:56:43 -05:00