OSDN Git Service

drm/amd/display: Add ability to override bounding box in DC construct
authorJun Lei <Jun.Lei@amd.com>
Thu, 7 Feb 2019 23:54:35 +0000 (18:54 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 Mar 2019 20:09:33 +0000 (15:09 -0500)
commit6649f19a364606b6475b61338422eed9845a0d61
tree37406650b57dcdef141f03175312384b848393bc
parent74aa7bd4c6f77431d1313bd9deb7647768ca0ef8
drm/amd/display: Add ability to override bounding box in DC construct

Add a dc_bounding_box_overrides struct to define bb overrides. It is
loaded in during DC init.

Signed-off-by: Jun Lei <Jun.Lei@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c
drivers/gpu/drm/amd/display/dc/dc.h