linux/drivers/gpu/drm/amd/display/dc
Ayush Gupta 9bb10b7aae drm/amd/display: populate subvp cmd info only for the top pipe
[Why]
System restart observed while changing the display resolution
to 8k with extended mode. Sytem restart was caused by a page fault.

[How]
When the driver populates subvp info it did it for both the pipes using
vblank which caused an outof bounds array access causing the page fault.
added checks to allow the top pipe only to fix this issue.

Co-authored-by: Ayush Gupta <ayush.gupta@amd.com>
Reviewed-by: Alvin Lee <Alvin.Lee2@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Ayush Gupta <ayush.gupta@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-02-28 14:29:36 -05:00
..
basics drm/amd/display: Include scaling factor for SubVP command 2022-08-16 18:14:20 -04:00
bios drm/amd/display: use swap() helper macro in bios_parser 2023-01-17 16:11:51 -05:00
clk_mgr Revert "drm/amd/display: Correct bw_params population" 2023-02-14 16:02:07 -05:00
core drm/amd/display: Format input and output CSC matrix 2023-02-28 14:28:50 -05:00
dce drm/amd/display: Reduce CPU busy-waiting for long delays 2023-02-28 14:29:35 -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: only warn once in dce110_edp_wait_for_hpd_ready() 2023-02-23 17:35:58 -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: Remove unused local variables 2023-02-23 17:36:00 -05:00
dcn20 drm/amd/display: dcn32/321 dsc_pg_control not executed properly 2023-02-28 14:29:36 -05:00
dcn21 drm/amd/display: break down dc_link.c 2023-02-08 17:15:51 -05:00
dcn30 drm/amd/display: dcn32/321 dsc_pg_control not executed properly 2023-02-28 14:29:36 -05:00
dcn31 drm/amd/display: Remove unused local variables and function 2023-02-23 17:36:00 -05:00
dcn32 drm/amd/display: dcn32/321 dsc_pg_control not executed properly 2023-02-28 14:29:36 -05:00
dcn201 drm/amd/display: Remove unused local variables 2023-02-23 17:36:00 -05:00
dcn301 drm/amd/display: refactor ddc logic from dc_link_ddc to link_ddc 2023-01-13 14:57:40 -05:00
dcn302 drm/amd/display: refactor ddc logic from dc_link_ddc to link_ddc 2023-01-13 14:57:40 -05:00
dcn303 drm/amd/display: refactor ddc logic from dc_link_ddc to link_ddc 2023-01-13 14:57:40 -05:00
dcn314 drm/amd/display: Disable HUBP/DPP PG on DCN314 for now 2023-02-15 22:20:38 -05:00
dcn315 drm/amd/display: rework macros for DWB register access 2022-11-15 13:35:15 -05:00
dcn316 drm/amd/display: Change i2c speed for hdcp 2023-01-17 15:38:15 -05:00
dcn321 drm/amd/display: fix MALL size hardcoded for DCN321 2023-01-31 14:00:57 -05:00
dml drm/amd/display: fix shift-out-of-bounds in CalculateVMAndRowBytes 2023-02-28 14:29:35 -05:00
dsc drm/amd/display: add rc_params_override option in dc_dsc_config 2023-01-31 14:00:51 -05:00
gpio drm/amd/display: fix mapping to non-allocated address 2023-01-17 15:40:44 -05:00
hdcp drm/amd/display: create accessories, hwss and protocols sub folders in link 2023-01-24 13:26:25 -05:00
inc drm/amd/display: Format input and output CSC matrix 2023-02-28 14:28:50 -05:00
irq drm/amd/display: Turn global functions into static 2023-02-15 22:24:30 -05:00
link drm/amd/display: Allocation at stream Enable 2023-02-28 14:29:35 -05:00
virtual drm/amd/display: make virtual_disable_link_output static 2022-10-11 11:32:59 -04:00
dc_bios_types.h drm/amd/display: Skip backlight control delay on external powered links 2023-01-17 15:40:28 -05:00
dc_ddc_types.h drm/amd/display: move public dc link function implementation to dc_link_exports 2023-02-14 16:06:28 -05:00
dc_dmub_srv.c drm/amd/display: populate subvp cmd info only for the top pipe 2023-02-28 14:29:36 -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: move public dc link function implementation to dc_link_exports 2023-02-14 16:06:28 -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_hdmi_types.h drm/amd/display: Add HDMI manufacturer OUI and device id read 2023-02-08 17:15:42 -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: add rc_params_override option in dc_dsc_config 2023-01-31 14:00:51 -05:00
dc_link.h drm/amd/display: Allocation at stream Enable 2023-02-28 14:29:35 -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: Enable AdaptiveSync in DC interface 2023-01-24 13:26:25 -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: move public dc link function implementation to dc_link_exports 2023-02-14 16:06:28 -05:00
dc.h drm/amd/display: disable SubVP + DRR to prevent underflow 2023-02-15 22:26:22 -05: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
dm_helpers.h drm/amd/display: Enable Freesync over PCon 2023-01-31 14:00:44 -05:00
dm_pp_smu.h drm/amdgpu/pm: display vcn pp dpm (v4) 2021-05-21 10:31:55 -04:00
dm_services_types.h
dm_services.h drm/amd/display: Decouple amdgpu_dm_trace from service 2020-10-26 13:33:59 -04:00
irq_types.h drm/amd/display: Remove underflow IRQ type 2022-04-05 10:29:47 -04:00
Makefile drm/amd/display: move public dc link function implementation to dc_link_exports 2023-02-14 16:06:28 -05:00
os_types.h drm/amd/display: remove repeated includes 2022-07-07 15:55:39 -04:00