drm/amd/display: Add DCN2 DWB
authorHarry Wentland <harry.wentland@amd.com>
Fri, 22 Feb 2019 20:54:43 +0000 (15:54 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:35 +0000 (18:59 -0500)
commit345429a67c48e1e9f7f95a406285be2b1bd09886
tree2cdc7a60ead21210aa32ea7acacc8f3f3a891ae8
parentfa0d2c989c94579ab143199a07849697afb1b4a8
drm/amd/display: Add DCN2 DWB

Add support to program the DCN2 DWB (Display Writeback)

HW Blocks:

 +--------++------+       +----------+
 | HUBBUB || HUBP |  <--  | MMHUBBUB |
 +--------++------+       +----------+
        |                     ^
        v                     |
    +--------+            +--------+
    |  DPP   |            |  DWB   |
    +--------+            +--------+
        |
        v                      ^
    +--------+                 |
    |  MPC   |                 |
    +--------+                 |
        |                      |
        v                      |
    +-------+                  |
    |  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/dc_types.h
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dwb.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dwb.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb_scl.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/inc/core_types.h
drivers/gpu/drm/amd/display/dc/inc/hw/dwb.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/inc/hw/mcif_wb.h [new file with mode: 0644]