]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Add DCN3.1 DIO
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Wed, 19 May 2021 14:58:19 +0000 (10:58 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Jun 2021 20:39:18 +0000 (16:39 -0400)
commit8981fa96321d7ffdd7706c93bc9ea3cff5c6e3fb
tree388ed410f93f75c8deb32e7c35cece910f05c584
parentfaa285fd390ac103385a0170ba96c45c4d9812c5
drm/amd/display: Add DCN3.1 DIO

Add support for the DIO (Display IO) block of DCN3.1 which controls
legacy HDMI/DP stream/link encoding.

HW Blocks:

    +--------+       +--------+
    |  DIO   |       |  DCCG  |
    +--------+       +--------+

Includes some updates to core logic for link encoder assignment and
future support for new high bandwidth output.

v2: squash in unused variable fix (Alex)

Acked-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.h
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_dio_link_encoder.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_dio_link_encoder.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/inc/hw/link_encoder.h