OSDN Git Service

drm/amd/display: Interface for LTTPR interop
authorWesley Chalmers <Wesley.Chalmers@amd.com>
Wed, 17 Mar 2021 20:36:47 +0000 (16:36 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Apr 2021 20:48:25 +0000 (16:48 -0400)
commitdd8a86877ec0dece66b5633b57622767696fc31f
tree5e3218f5ebe3f2073759803ab8493160184584cb
parent6b91a404c8a57728a5fddfbf7dc47cf8517bfcc2
drm/amd/display: Interface for LTTPR interop

[WHY]
The logic to toggle LTTPR transparent/non-transparent requires 2 flags
provided by BIOS

[HOW]
Repurpose the interface to get dce caps so both LTTPR querying functions
can use them.

Signed-off-by: Wesley Chalmers <Wesley.Chalmers@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Anson Jacob <Anson.Jacob@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c
drivers/gpu/drm/amd/display/dc/dc_bios_types.h
drivers/gpu/drm/amd/include/atomfirmware.h