mirror_ubuntu-kernels/drivers/gpu/drm/amd
Samson Tam b206011bf0 drm/amd/display: apply edge-case DISPCLK WDIVIDER changes to master OTG pipes only
[Why]
The edge-case DISPCLK WDIVIDER changes call stream_enc functions.
But with MPC pipes, downstream pipes have null stream_enc and will
 cause crash.

[How]
Only call stream_enc functions for pipes that are OTG master.

Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Samson Tam <samson.tam@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-10-04 22:55:05 -04:00
..
acp
amdgpu drm/amd: Fix detection of _PR3 on the PCIe root port 2023-10-04 22:52:05 -04:00
amdkfd drm/amdkfd: Use gpu_offset for user queue's wptr 2023-09-20 17:30:42 -04:00
amdxcp drm/amdxcp: fix Makefile to build amdxcp module 2023-06-09 12:32:53 -04:00
display drm/amd/display: apply edge-case DISPCLK WDIVIDER changes to master OTG pipes only 2023-10-04 22:55:05 -04:00
include drm/amdgpu: Store CU info from all XCCs for GFX v9.4.3 2023-09-11 18:16:31 -04:00
pm drm/amd: Fix logic error in sienna_cichlid_update_pcie_parameters() 2023-10-04 22:52:05 -04:00