summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c
diff options
context:
space:
mode:
authorHarry Wentland <harry.wentland@amd.com>2023-02-14 14:14:49 -0500
committerAlex Deucher <alexander.deucher@amd.com>2023-03-07 14:22:40 -0500
commit4652ae7a51b78d7607c247228ac2a14fa0088bbf (patch)
tree35ceae3a291c64d39b3353258f8cd5f2e39582a0 /drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c
parentc186c13e65286a46b61f5c295f9f9c65c75c926e (diff)
downloadlinux-4652ae7a51b78d7607c247228ac2a14fa0088bbf.tar.gz
linux-4652ae7a51b78d7607c247228ac2a14fa0088bbf.tar.bz2
linux-4652ae7a51b78d7607c247228ac2a14fa0088bbf.zip
drm/amd/display: Rename DCN config to FP
[Why & How] The only reason we have the DCN config is for floating point support. Rename it to make that clear and (hopefully) avoid misuse of the config in the future. Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com> Signed-off-by: Harry Wentland <harry.wentland@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/dsc/rc_calc.c')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c b/drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c
index 3215ca4d5799..64cee8c80110 100644
--- a/drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c
+++ b/drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c
@@ -39,7 +39,7 @@
*/
void calc_rc_params(struct rc_params *rc, const struct drm_dsc_config *pps)
{
-#if defined(CONFIG_DRM_AMD_DC_DCN)
+#if defined(CONFIG_DRM_AMD_DC_FP)
enum colour_mode mode;
enum bits_per_comp bpc;
bool is_navite_422_or_420;