linux/drivers/gpu/drm/amd/display/dc
YueHaibing 025916c914 drm/amd/display: remove set but not used variable 'bpc'
Fixes gcc '-Wunused-but-set-variable' warning:

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c: In function get_pbn_from_timing:
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:2364:11: warning:
 variable bpc set but not used [-Wunused-but-set-variable]

It is not used since commit e49f69363a ("drm/amd/display: use
proper formula to calculate bandwidth from timing"), this also
remove get_color_depth(), which is only used here.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-11-13 15:29:46 -05:00
..
basics drm/amd: drop use of drmp.h in os_types.h 2019-06-10 22:59:45 +02:00
bios drm/amd/display: rename DCN1_0 kconfig to DCN 2019-11-13 15:29:44 -05:00
calcs drm/amd/display: rename DCN1_0 kconfig to DCN 2019-11-13 15:29:44 -05:00
clk_mgr drm/amd/display: rename DCN1_0 kconfig to DCN 2019-11-13 15:29:44 -05:00
core drm/amd/display: remove set but not used variable 'bpc' 2019-11-13 15:29:46 -05:00
dce drm/amd/display: rename DCN1_0 kconfig to DCN 2019-11-13 15:29:44 -05:00
dce80 drm/amd/display: map TRANSMITTER_UNIPHY_x to LINK_REGS_x 2019-10-25 16:50:09 -04:00
dce100 drm/amd/display: map TRANSMITTER_UNIPHY_x to LINK_REGS_x 2019-10-25 16:50:09 -04:00
dce110 drm/amd/display: rename DCN1_0 kconfig to DCN 2019-11-13 15:29:44 -05:00
dce112 drm/amd/display: map TRANSMITTER_UNIPHY_x to LINK_REGS_x 2019-10-25 16:50:09 -04:00
dce120 drm/amd/display: map TRANSMITTER_UNIPHY_x to LINK_REGS_x 2019-10-25 16:50:09 -04:00
dcn10 drm/amd/display: rename DCN1_0 kconfig to DCN 2019-11-13 15:29:44 -05:00
dcn20 drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_1 flag 2019-11-13 15:29:44 -05:00
dcn21 drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_1 flag 2019-11-13 15:29:44 -05:00
dml drm/amd/display: rename DCN1_0 kconfig to DCN 2019-11-13 15:29:44 -05:00
dsc drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
gpio drm/amd/display: rename DCN1_0 kconfig to DCN 2019-11-13 15:29:44 -05:00
hdcp drm/amd/display: remove redundant null pointer check before kfree 2019-10-30 11:07:13 -04:00
inc drm/amd/display: rename DCN1_0 kconfig to DCN 2019-11-13 15:29:44 -05:00
irq drm/amd/display: rename DCN1_0 kconfig to DCN 2019-11-13 15:29:44 -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.h drm/amd/display: rename DCN1_0 kconfig to DCN 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: fix spelling mistake "exeuction" -> "execution" 2019-11-13 15:29:45 -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: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
dc_dsc.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
dc_helper.c drm/amd/display: Drop CONFIG_DRM_AMD_DC_DMUB guards 2019-11-13 15:29:42 -05:00
dc_hw_types.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
dc_link.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
dc_stream.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
dc_types.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -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.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DMUB guards 2019-11-13 15:29:42 -05:00
dm_services_types.h
irq_types.h
Makefile drm/amd/display: rename DCN1_0 kconfig to DCN 2019-11-13 15:29:44 -05:00
os_types.h drm/amd/display: rename DCN1_0 kconfig to DCN 2019-11-13 15:29:44 -05:00