linux_dsm_epyc7002/drivers/gpu/drm/amd/display/dc/dcn21
Bhawanpreet Lakha aca935c7cc drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_1 flag
[Why]

DCN21 is stable enough to be build by default. So drop the flags.

[How]

Remove them using the unifdef tool. The following commands were executed
in sequence:

$ find -name '*.c' -exec unifdef -m -DCONFIG_DRM_AMD_DC_DCN2_1 -UCONFIG_TRIM_DRM_AMD_DC_DCN2_1 '{}' ';'
$ find -name '*.h' -exec unifdef -m -DCONFIG_DRM_AMD_DC_DCN2_1 -UCONFIG_TRIM_DRM_AMD_DC_DCN2_1 '{}' ';'

In addition:

* Remove from kconfig, and replace any dependencies with DCN1_0.
* Remove from any makefiles.
* Fix and cleanup Renoir definitions in dal_asic_id.h
* Expand DCN1 ifdef to include DCN21 code in the following files:
    * clk_mgr/clk_mgr.c: dc_clk_mgr_create()
    * core/dc_resources.c: dc_create_resource_pool()
    * gpio/hw_factory.c: dal_hw_factory_init()
    * gpio/hw_translate.c: dal_hw_translate_init()

Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-11-13 15:29:44 -05:00
..
dcn21_hubbub.c drm/amd/display: add detile buffer size for renoir 2019-10-17 16:28:45 -04:00
dcn21_hubbub.h drm/amd/display: update dcn21 hubbub registers 2019-10-17 16:28:51 -04:00
dcn21_hubp.c drm/amd/display: Renoir chroma viewport WA 2019-11-13 15:29:43 -05:00
dcn21_hubp.h
dcn21_hwseq.c drm/amd/display: Add renoir hw_seq 2019-10-17 16:27:34 -04:00
dcn21_hwseq.h drm/amd/display: Add renoir hw_seq 2019-10-17 16:27:34 -04:00
dcn21_link_encoder.c drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
dcn21_link_encoder.h drm/amd/display: handle dp is usb-c 2019-10-17 16:30:23 -04:00
dcn21_resource.c drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_1 flag 2019-11-13 15:29:44 -05:00
dcn21_resource.h
Makefile Merge tag 'drm-next-5.5-2019-10-25' of git://people.freedesktop.org/~agd5f/linux into drm-next 2019-10-30 05:46:09 +10:00