drm/amd/display: add set ips disable
authorChiawen Huang <chiawen.huang@amd.com>
Mon, 20 May 2024 03:17:42 +0000 (11:17 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jun 2024 19:24:10 +0000 (15:24 -0400)
commitabb3f19cad93a8f85dc1d595be456396843ef73e
treebf79787ece746bf556cc4f315e815569715c8990
parent6172d39be2545ef3d71c4007065832a5219d2885
drm/amd/display: add set ips disable

[How&Why]
Once IPS active, all the DCN resources are
not be allowed to access.
It needs to a function for 3rd party to
on/off IPS.

Reviewed-by: Duncan Ma <duncan.ma@amd.com>
Acked-by: Zaeem Mohamed <zaeem.mohamed@amd.com>
Signed-off-by: Chiawen Huang <chiawen.huang@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@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