drm/amd/display: Add DCN2 OPTC
authorHarry Wentland <harry.wentland@amd.com>
Fri, 22 Feb 2019 15:19:04 +0000 (10:19 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:34 +0000 (18:59 -0500)
commit2d78b3a177fea66cf576a420d2ff83811643c021
tree022648f06a6c2c860dd24c1685dbb4965d8279ad
parentfcee01b9f82d44a4f62791f710ede954731df1bf
drm/amd/display: Add DCN2 OPTC

Add support for programming the DCN2 OPTC (Output Timing Controller)

HW Blocks:

    +--------+
    |  OPTC  |
    +--------+
        |
        v
    +--------+       +--------+
    |  DIO   |       |  DCCG  |
    +--------+       +--------+

Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.h
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_optc.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_optc.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h
drivers/gpu/drm/amd/display/dc/inc/hw/timing_generator.h