1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/dc
Deepak R Varma 447395e18a drm/amd/display: No need for Null pointer check before kfree
kfree() & vfree() internally performs NULL check on the pointer handed
to it and take no action if it indeed is NULL. Hence there is no need
for a pre-check of the memory pointer before handing it to
kfree()/vfree().

Issue reported by ifnullfree.cocci Coccinelle semantic patch script.

Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Deepak R Varma <drv@mailo.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-01-10 18:04:53 -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: No need for Null pointer check before kfree 2023-01-10 18:04:53 -05:00
core drm/amd/display: Remove redundant assignment to variable dc 2023-01-09 17:02:18 -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: Remove redundant logs from DSC code 2023-01-05 11:43:15 -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: Remove the unused function dmub_outbox_irq_info_funcs 2023-01-03 16:57:58 -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