linux_dsm_epyc7002/drivers/gpu/drm/amd/display/dc
Colin Ian King 11f874c041 drm/amd/display: fix incorrect null check on pointer
Currently an allocation is being made but the allocation failure
check is being performed on another pointer. Fix this by checking
the correct pointer. Also use the normal kernel idiom for null
pointer checks.

Addresses-Coverity: ("Resource leak")
Fixes: 43e3ac8389 ("drm/amd/display: Add function to copy DC streams")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-04-29 14:56:49 -05:00
..
basics drm/amd/display: Add function to create 4d19 fixed point 2019-03-19 15:04:02 -05:00
bios drm/amd/display/dc/bios_parser2: Mark expected switch fall-throughs 2019-02-18 18:01:00 -05:00
calcs drm/amd/display: Add profiling tools for bandwidth validation 2019-04-15 00:22:19 -05:00
core drm/amd/display: fix incorrect null check on pointer 2019-04-29 14:56:49 -05:00
dce drm/amd/display: add explicit handshake between x86 and DMCU 2019-04-23 17:28:19 -05:00
dce80 drm/amd/display: Add fast_validate parameter 2019-04-15 00:22:11 -05:00
dce100 drm/amd/display: Add fast_validate parameter 2019-04-15 00:22:11 -05:00
dce110 drm/amd/display: Add fast_validate parameter 2019-04-15 00:22:11 -05:00
dce112 drm/amd/display: Add fast_validate parameter 2019-04-15 00:22:11 -05:00
dce120 drm/amd/display: expand plane caps to include fp16 and scaling capability 2019-04-15 00:19:54 -05:00
dcn10 drm/amd/display: Allow system to enter stutter on init 2019-04-23 17:27:32 -05:00
dml drm/amd/display: implement bounding box update based on uclk breakdown 2019-03-19 15:36:49 -05:00
gpio drm/amd/display: add gpio lock/unlock 2019-02-05 21:16:23 -05:00
inc drm/amd/display: add explicit handshake between x86 and DMCU 2019-04-23 17:28:19 -05:00
irq drm/amd/display: In VRR mode, do DRM core vblank handling at end of vblank. (v2) 2019-04-03 10:00:33 -05:00
virtual drm/amd/display: Pass SDP spliting in parameters 2019-03-27 22:42:30 -05:00
dc_bios_types.h drm/amd/display: Connect dig_fe to otg directly instead of calling bios 2019-01-25 16:15:37 -05:00
dc_ddc_types.h drm/amd/display: add i2c over aux failure handling 2019-03-19 15:36:49 -05:00
dc_dp_types.h drm/amd/display: cache additional dpcd caps for HDR capability check 2019-03-20 23:39:48 -05:00
dc_helper.c drm/amd/display: Move dm_read_reg_func to dc_helper. 2019-03-20 23:39:48 -05:00
dc_hw_types.h drm/amd/display: Introduce DC VM interface 2019-01-25 16:15:36 -05:00
dc_link.h drm/amd/display: change name from dc_link_get_verified_link_cap to dc_link_get_link_cap 2019-04-15 00:21:19 -05:00
dc_stream.h drm/amd/display: Add function to copy DC streams 2019-04-23 17:27:45 -05:00
dc_types.h drm/amd/display: fix dp_hdmi_max_pixel_clk units 2019-04-10 13:53:27 -05:00
dc.h drm/amd/display: 3.2.27 2019-04-23 17:28:05 -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: Poll pending DOWN_REP before enabling the link 2019-03-19 15:04:02 -05:00
dm_pp_smu.h drm/amd/display: Clean up old pplib interface functions 2019-03-27 22:41:49 -05:00
dm_services_types.h drm/amd/display: PPLIB Hookup 2019-03-05 15:09:32 -05:00
dm_services.h drm/amd/display: Move dm_read_reg_func to dc_helper. 2019-03-20 23:39:48 -05:00
irq_types.h drm/amd/display: Add Vline1 interrupt source to InterruptManager 2019-01-28 11:44:10 -05:00
Makefile drm/amd/display: Introduce DC VM interface 2019-01-25 16:15:36 -05:00
os_types.h amd-gpu: Don't undefine READ and WRITE 2018-10-24 00:36:12 +01:00