drm/amd/display: Add DCN2 OPP
authorHarry Wentland <harry.wentland@amd.com>
Fri, 22 Feb 2019 20:45:23 +0000 (15:45 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:34 +0000 (18:59 -0500)
commiteb7a74a36c247bfb7cb4249df59b8cedcb0b1fff
treea2e8aec71ca8efb0a5924d210b55e1a3303ba046
parent2d78b3a177fea66cf576a420d2ff83811643c021
drm/amd/display: Add DCN2 OPP

Add support to program the DCN2 OPP (Output Plane Processing)

HW Blocks:

    +-------+
    |  OPP  |
    +-------+
        |
        v
    +--------+
    |  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_opp.c
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_opp.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_opp.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/inc/hw/opp.h