aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h
diff options
context:
space:
mode:
authorJosip Pavic <Josip.Pavic@amd.com>2020-12-11 00:09:11 -0500
committerAlex Deucher <alexander.deucher@amd.com>2020-12-23 15:02:55 -0500
commit110b055b282736e277298141c42227595408f606 (patch)
treeefc389dc7077a2f290a37d7458286e98fce83351 /drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h
parentdrm/amd/display: always program DPPDTO unless not safe to lower (diff)
downloadlinux-dev-110b055b282736e277298141c42227595408f606.tar.xz
linux-dev-110b055b282736e277298141c42227595408f606.zip
drm/amd/display: add getter routine to retrieve mpcc mux
[Why & How] Add function to identify which MPCC is providing input to a specified OPP Signed-off-by: Josip Pavic <Josip.Pavic@amd.com> Acked-by: Bindu Ramamurthy <bindu.r@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h b/drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h
index 879f502ae530..75c77ad9cbfe 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h
@@ -359,6 +359,10 @@ struct mpc_funcs {
int (*release_rmu)(struct mpc *mpc, int mpcc_id);
+ unsigned int (*get_mpc_out_mux)(
+ struct mpc *mpc,
+ int opp_id);
+
};
#endif