summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_mpc.h
diff options
context:
space:
mode:
authorWesley Chalmers <Wesley.Chalmers@amd.com>2023-02-27 13:21:17 -0500
committerAlex Deucher <alexander.deucher@amd.com>2023-03-15 18:45:26 -0400
commit7108a1c1271dc4d26789002c1a6858b52f237cf5 (patch)
tree42430ae7fac07aa33773e46449dd69b048da433f /drivers/gpu/drm/amd/display/dc/dcn32/dcn32_mpc.h
parent057e335c71361063e173381cecf2e8487ec8b552 (diff)
downloadlinux-stable-7108a1c1271dc4d26789002c1a6858b52f237cf5.tar.gz
linux-stable-7108a1c1271dc4d26789002c1a6858b52f237cf5.tar.bz2
linux-stable-7108a1c1271dc4d26789002c1a6858b52f237cf5.zip
drm/amd/display: Make DCN32 functions available to future DCNs
[Why & How] Make DCN32 functions available for more DCNs. Reviewed-by: Chris Park <Chris.Park@amd.com> Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com> Signed-off-by: Wesley Chalmers <Wesley.Chalmers@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dcn32/dcn32_mpc.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dcn32/dcn32_mpc.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_mpc.h b/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_mpc.h
index 61f33c0d8e59..2c2ecd053806 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_mpc.h
+++ b/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_mpc.h
@@ -310,6 +310,19 @@ struct dcn32_mpc_registers {
MPC_REG_VARIABLE_LIST_DCN3_0;
MPC_REG_VARIABLE_LIST_DCN32;
};
+void mpc32_mpc_init(struct mpc *mpc);
+bool mpc32_program_3dlut(
+ struct mpc *mpc,
+ const struct tetrahedral_params *params,
+ int mpcc_id);
+bool mpc32_program_post1dlut(
+ struct mpc *mpc,
+ const struct pwl_params *params,
+ uint32_t mpcc_id);
+bool mpc32_program_shaper(
+ struct mpc *mpc,
+ const struct pwl_params *params,
+ uint32_t mpcc_id);
void dcn32_mpc_construct(struct dcn30_mpc *mpc30,
struct dc_context *ctx,