OSDN Git Service

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)
commitcbaf919f3313af6a8415076f315d63d0cda1635e
tree388ed410f93f75c8deb32e7c35cece910f05c584
parentd8a2b4f3a9fc16cd8888e94440e03347a2b1e5e7
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