1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/dc
Bhawanpreet Lakha 2e68ad8f98 drm/amd/display: Fix dsc mismatch of acquire and validation of dsc engine
[Why]
We skip dsc_validation on pipes that are underlays, but in the
acquire_dsc code we don't have this check.

In certain conditions (when underlay pipe index is lower) we will assign
the dsc resource to the underlay pipe and skip the base pipe.

Now during dsc_validation we will skip the underlay pipe (this has the
dsc resource) but try to validate the base pipe(this doesn't have a dsc
resource) due to this mismatch we hit a NULLPTR

[How]
In the acquire_dsc add a check for underlay pipe so we
don't acquire a dsc resource for this pipe. This will match the
acquire/validation conditions.

Reviewed-by: Wenjing Liu <Wenjing.Liu@amd.com>
Reviewed-by: Hersen Wu <Hersenxs.Wu@amd.com>
Acked-by: Praful Swarnakar <Praful.Swarnakar@amd.com>
Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-01-03 16:57:58 -05:00
..
basics drm/amd/display: Include scaling factor for SubVP command 2022-08-16 18:14:20 -04:00
bios drm/amdgpu: Replace one-elements array with flex-array members 2022-11-15 13:35:16 -05:00
clk_mgr drm/amd/display: Remove DTB DTO on CLK update 2022-12-06 10:13:19 -05:00
core drm/amd/display: Adding braces to prepare for future changes to behavior of if block 2023-01-03 16:57:57 -05:00
dce drm/amd/display: Waiting for 1 frame to fix the flash issue on PSR1 2022-11-09 17:24:57 -05:00
dce60 drm/amd/display: prevent memory leak 2022-10-27 15:12:08 -04:00
dce80 drm/amd/display: prevent memory leak 2022-10-27 15:12:08 -04:00
dce100 drm/amd/display: Add dc_ctx to link_enc_create() parameters 2022-07-25 17:17:28 -04:00
dce110 drm/amd/display: move dccg programming from link hwss hpo dp to hwss 2023-01-03 16:57:57 -05:00
dce112 drm/amd/display: Add dc_ctx to link_enc_create() parameters 2022-07-25 17:17:28 -04:00
dce120 drm/amd/dc/dce120: Fix audio register mapping, stop triggering KASAN 2022-11-23 09:47:13 -05:00
dcn10 drm/amd/display: Fix spelling mistake: "dram_clk_chanage" -> "dram_clk_change" 2022-12-09 16:50:30 -05:00
dcn20 drm/amd/display: Fix dsc mismatch of acquire and validation of dsc engine 2023-01-03 16:57:58 -05:00
dcn21 drm/amd/display: Fix spelling mistake: "dram_clk_chanage" -> "dram_clk_change" 2022-12-09 16:50:30 -05:00
dcn30 drm/amd/display: rework macros for DWB register access 2022-11-15 13:35:15 -05:00
dcn31 drm/amd/display: add support for three new square pattern variants from DP2.1 specs 2022-12-15 12:18:19 -05:00
dcn32 drm/amd/display: Turn on phantom OTG before disabling phantom pipe 2023-01-03 16:57:44 -05:00
dcn201 drm/amd/display: update dccg based on HW delta 2022-09-19 15:16:49 -04:00
dcn301 drm/amd/display: patch cases with unknown plane state to prevent warning 2023-01-03 16:57:57 -05:00
dcn302 drm/amd/display: Enable dp_hdmi21_pcon support 2022-12-06 10:15:55 -05:00
dcn303 drm/amd/display: Enable dp_hdmi21_pcon support 2022-12-06 10:15:55 -05:00
dcn314 drm/amd/display: Defer DIG FIFO disable after VID stream enable 2023-01-03 16:57:57 -05:00
dcn315 drm/amd/display: rework macros for DWB register access 2022-11-15 13:35:15 -05:00
dcn316 drm/amd/display: rework macros for DWB register access 2022-11-15 13:35:15 -05:00
dcn321 drm/amd/display: Add debug bit to disable unbounded requesting 2022-12-15 12:18:18 -05:00
dml drm/amd/display: Uninitialized variables causing 4k60 UCLK to stay at DPM1 and not DPM0 2023-01-03 16:50:48 -05:00
dsc drm/amd: Fix spelling typo in comments 2022-06-03 16:43:36 -04:00
gpio drm/amd/display: read invalid ddc pin status cause engine busy 2022-12-06 10:16:24 -05:00
hdcp drm/amd/display: Enforce DPCD Address ranges 2021-06-15 17:25:41 -04:00
inc drm/amd/display: Reorder dc_state fields to optimize clearing the struct 2023-01-03 16:57:58 -05:00
irq drm/amd/display: clean up some irq service code for dcn201 2022-11-15 11:53:00 -05:00
link drm/amd/display: move dccg programming from link hwss hpo dp to hwss 2023-01-03 16:57:57 -05:00
virtual drm/amd/display: make virtual_disable_link_output static 2022-10-11 11:32:59 -04:00
dc.h drm/amd/display: 3.2.217 2023-01-03 16:57:58 -05:00
dc_bios_types.h drm/amd/display: Add dependant changes for DCN32/321 2022-06-03 16:43:38 -04:00
dc_ddc_types.h drm/amd/display: Support for DMUB AUX 2021-03-02 14:05:41 -05:00
dc_dmub_srv.c drm/amd/display: Add margin on DRR vblank start for subvp 2022-11-23 09:47:13 -05:00
dc_dmub_srv.h drm/amd/display: Use the same cursor info across features 2022-10-10 17:32:55 -04:00
dc_dp_types.h drm/amd/display: add support for three new square pattern variants from DP2.1 specs 2022-12-15 12:18:19 -05:00
dc_dsc.h drm/amd/display: move bpp range decision in decide dsc bw range function 2021-09-14 15:57:09 -04:00
dc_edid_parser.c drm/amd/display: Add Freesync HDMI support to DMCU 2021-02-02 12:11:41 -05:00
dc_edid_parser.h drm/amd/display: Add Freesync HDMI support to DMCU 2021-02-02 12:11:41 -05:00
dc_helper.c drm/amd/display: Support synchronized indirect reg access 2022-01-25 18:00:35 -05:00
dc_hw_types.h drm/amd/display: Expand documentation for timing 2022-08-16 18:14:31 -04:00
dc_link.h drm/amd/display: fix dc_get_edp_link_panel_inst to only consider links with panels 2023-01-03 16:57:57 -05:00
dc_stat.h drm/amd/display: DMUB Outbound Interrupt Process-X86 2021-07-08 15:14:36 -04:00
dc_stream.h drm/amd/display: Implement multiple secure display 2022-12-15 12:18:18 -05:00
dc_trace.h drm/amd/display: Add events log to trace OPTC lock and unlock 2022-10-24 14:36:06 -04:00
dc_types.h drm/amd/display: Drop struct crc_region and reuse struct rect 2022-10-27 14:42:40 -04:00
dm_cp_psp.h drm/amd/display: unhard code link to phy idx mapping in dc link and clean up 2022-01-07 17:21:20 -05:00
dm_event_log.h drm/amd/display: Add customizable tracing event 2018-11-30 12:02:49 -05:00
dm_helpers.h drm/amd/display: Only update link settings after successful MST link train 2022-11-09 17:41:41 -05:00
dm_pp_smu.h drm/amdgpu/pm: display vcn pp dpm (v4) 2021-05-21 10:31:55 -04:00
dm_services.h drm/amd/display: Decouple amdgpu_dm_trace from service 2020-10-26 13:33:59 -04:00
dm_services_types.h drm/amd/display: Add definition for number of backlight data points 2019-12-18 16:09:08 -05:00
irq_types.h drm/amd/display: Remove underflow IRQ type 2022-04-05 10:29:47 -04:00
Makefile drm/amd/display: Enable building new display engine with KCOV enabled 2022-07-18 16:42:38 -04:00
os_types.h drm/amd/display: remove repeated includes 2022-07-07 15:55:39 -04:00