OSDN Git Service

drm/amd/display: Add DCN2 HUBP and HUBBUB
authorHarry Wentland <harry.wentland@amd.com>
Tue, 7 May 2019 19:58:48 +0000 (14:58 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:34 +0000 (18:59 -0500)
commitbbeb64d0eb78f493323897bbb8cbd1820645501b
tree1d4ad468518b7a240770aea51fe057b321cc9471
parentf7de96ee8b5f4d0d4ef7b00b8868049a6869a10f
drm/amd/display: Add DCN2 HUBP and HUBBUB

Add support to program the DCN2 HUBP (Display to data fabric interface
pipe) and HUBBUB (DCN memory HUB interface)

HW Blocks:

 +--------++------+
 | HUBBUB || HUBP |
 +--------++------+
        |
        v
    +--------+
    |  DPP   |
    +--------+
        |
        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/dcn10/dcn10_hubbub.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.h
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h
drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h