]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Add DCN3.1 OPTC
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Wed, 19 May 2021 15:01:50 +0000 (11:01 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Jun 2021 20:39:18 +0000 (16:39 -0400)
commit4f67365a3a3e74688faf3cb651cdf4df08a1124e
treeabab4be5adb3cd4d44db3d9102829741d84c5d9c
parentb5993ac80315590efa3ab314b231bdde45c314eb
drm/amd/display: Add DCN3.1 OPTC

Add support for programming the DCN3.1 OPTC (Output Timing Controller)

HW Blocks:

    +--------+
    |  MPC   |
    +--------+
        |
        v
    +-------+
    |  OPP  |
    +-------+
        |
        v
    +--------+
    |  OPTC  |
    +--------+
        |
        v
    +--------+       +--------+
    |  DIO   |       |  DCCG  |
    +--------+       +--------+

There are no changes to OPP or MPC for DCN3.1, so the diagram will
include them in this patch.

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/dcn10/dcn10_optc.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.h
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_optc.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_optc.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/inc/hw/timing_generator.h