drm/amd/display: Add support for DCN302 (v2)
authorBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Tue, 29 Sep 2020 18:52:09 +0000 (14:52 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 12 Oct 2020 18:02:51 +0000 (14:02 -0400)
commit36d26912e8d854853e3cdb300664db274a6636cf
tree7bfd642a153170007b90816aae1bb561d8b66481
parent4da678390890c7cf99e068ecd9d7ee5bf0d5290b
drm/amd/display: Add support for DCN302 (v2)

 - add DCN302 resource, irq service, dmub loader,
 - handle  DC_VERSION_DCN_3_02
 - define DCN302 power gating functions
 - handle DCN302 in GPIO files
 - define I2C regs
 - add CONFIG_DRM_AMD_DC_DCN3_02 guard

v2: rebase fixes (Alex)

Signed-off-by: Joshua Aberback <joshua.aberback@amd.com>
Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
27 files changed:
drivers/gpu/drm/amd/display/Kconfig
drivers/gpu/drm/amd/display/dc/Makefile
drivers/gpu/drm/amd/display/dc/bios/command_table_helper2.c
drivers/gpu/drm/amd/display/dc/clk_mgr/clk_mgr.c
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.h
drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.h
drivers/gpu/drm/amd/display/dc/dcn302/Makefile [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dcn302/dcn302_dccg.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dcn302/dcn302_hwseq.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dcn302/dcn302_hwseq.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dcn302/dcn302_init.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dcn302/dcn302_init.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/gpio/hw_factory.c
drivers/gpu/drm/amd/display/dc/gpio/hw_translate.c
drivers/gpu/drm/amd/display/dc/irq/Makefile
drivers/gpu/drm/amd/display/dc/irq/dcn302/irq_service_dcn302.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/irq/dcn302/irq_service_dcn302.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dmub/dmub_srv.h
drivers/gpu/drm/amd/display/dmub/src/Makefile
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn302.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn302.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c
drivers/gpu/drm/amd/display/include/dal_asic_id.h
drivers/gpu/drm/amd/display/include/dal_types.h