linux_dsm_epyc7002/drivers/gpu/drm/amd/display/dc
Nathan Chancellor 5fbdb1f38d drm/amd/display: Don't take the address of skip_scdc_overwrite in dc_link_detect_helper
Clang warns:

../drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:980:36:
warning: address of 'sink->edid_caps.panel_patch.skip_scdc_overwrite'
will always evaluate to 'true' [-Wpointer-bool-conversion]
                if (&sink->edid_caps.panel_patch.skip_scdc_overwrite)
                ~~   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
1 warning generated.

This is probably not what was intended so remove the address of
operator, which matches how skip_scdc_overwrite is handled in the rest
of the driver.

While we're here, drop an extra newline after this if block.

Fixes: a760fc1bff ("drm/amd/display: add monitor patch to disable SCDC read/write")
Link: https://github.com/ClangBuiltLinux/linux/issues/879

Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Zhan Liu <zhan.liu@amd.com>
Reviewed-by: Zhan Liu <zhan.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-02-19 10:36:26 -05:00
..
basics drm/amd/display: cleanup of function pointer tables 2019-11-19 10:12:53 -05:00
bios drm/amdgpu/display: extend DCN guard in dal_bios_parser_init_cmd_tbl_helper2 2020-02-12 16:04:39 -05:00
calcs drm/amdgpu/display: handle multiple numbers of fclks in dcn_calcs.c (v2) 2020-02-04 10:37:52 -05:00
clk_mgr drm/amd/display: DCN2.x Do not program DPPCLK if same value 2020-02-11 11:51:08 -05:00
core drm/amd/display: Don't take the address of skip_scdc_overwrite in dc_link_detect_helper 2020-02-19 10:36:26 -05:00
dce drm/amd/display: Add psr get_state call 2020-02-11 11:50:55 -05:00
dce80 drm/amd/display: add separate of private hwss functions 2019-12-05 16:26:46 -05:00
dce100 drm/amd/display: add separate of private hwss functions 2019-12-05 16:26:46 -05:00
dce110 drm/amd/display: linux enable oled panel support dc part 2020-02-06 15:04:38 -05:00
dce112 drm/amd/display: add separate of private hwss functions 2019-12-05 16:26:46 -05:00
dce120 drm/amd/display: make PSR static screen entry within 30 ms 2020-01-16 14:16:08 -05:00
dcn10 drm/amd/display: Remove set but not unused variable 'stream_status' 2020-02-11 11:52:04 -05:00
dcn20 drm/amdgpu/display move get_num_odm_splits() into dc_resource.c 2020-02-12 16:04:39 -05:00
dcn21 drm/amd/display: Add initialitions for PLL2 clock source 2020-02-06 15:04:38 -05:00
dml drm/amd/display: fix inputting clk lvl into dml for RN 2020-02-06 15:04:37 -05:00
dsc drm/amd/display: Add debug option to disable DSC support 2020-01-22 16:55:27 -05:00
gpio drm/amdgpu/display: extend DCN guards 2020-02-12 16:04:39 -05:00
hdcp drm/amd/display: remove redundant null pointer check before kfree 2019-10-30 11:07:13 -04:00
inc drm/amdgpu/display move get_num_odm_splits() into dc_resource.c 2020-02-12 16:04:39 -05:00
irq drm/amd/display: rename core_dc to dc 2019-12-05 16:26:39 -05:00
virtual drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
dc_bios_types.h drm/amd/display: make firmware info only load once during dc_bios create 2019-08-15 10:53:36 -05:00
dc_ddc_types.h drm/amd/display: Proper return of result when aux engine acquire fails 2019-10-25 16:50:09 -04:00
dc_dmub_srv.c drm/amd/display: Spin for DMCUB PHY init in DC 2019-11-19 10:12:53 -05:00
dc_dmub_srv.h drm/amd/display: Add DMUB support to DC 2019-11-13 15:29:42 -05:00
dc_dp_types.h drm/amd/display: Pass override OUI in to dc_init_data 2020-02-11 11:49:47 -05:00
dc_dsc.h drm/amd/display: Add debug option to override DSC target bpp increment 2019-12-18 16:09:11 -05:00
dc_helper.c drm/amd/display: Indirect reg read macro with shift and mask 2020-01-16 14:13:53 -05:00
dc_hw_types.h drm/amd/display: Drop AMD_EDID_UTILITY defines 2019-12-02 17:38:21 -05:00
dc_link.h drm/amd/display: linux enable oled panel support dc part 2020-02-06 15:04:38 -05:00
dc_stream.h drm/amd/display: Indicate dsc updates explicitly 2020-02-06 15:04:37 -05:00
dc_types.h drm/amd/display: add monitor patch to disable SCDC read/write 2020-02-11 11:50:42 -05:00
dc.h drm/amd/display: 3.2.72 2020-02-11 11:50:30 -05:00
dm_cp_psp.h drm/amd/display: Update hdcp display config 2019-10-03 09:10:58 -05:00
dm_event_log.h
dm_helpers.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
dm_pp_smu.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_1 flag 2019-11-13 15:29:44 -05:00
dm_services_types.h drm/amd/display: Add definition for number of backlight data points 2019-12-18 16:09:08 -05:00
dm_services.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DMUB guards 2019-11-13 15:29:42 -05:00
irq_types.h
Makefile drm/amd/display: rename DCN1_0 kconfig to DCN 2019-11-13 15:29:44 -05:00
os_types.h amdgpu: Enable initial DCN support on POWER 2019-12-18 16:09:05 -05:00