aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/dsc/rc_calc.h
diff options
context:
space:
mode:
authorTao.Huang <Tao.Huang@amd.com>2020-09-18 11:17:44 +0300
committerAlex Deucher <alexander.deucher@amd.com>2020-11-02 15:29:33 -0500
commit585e7cedf304ce76410c922e632bef04fd316ead (patch)
tree946a027206212fdb569e747fe03e4fb1590ae66c /drivers/gpu/drm/amd/display/dc/dsc/rc_calc.h
parentdbb60031dd0c2b85f10ce4c12ae604c28d3aaca4 (diff)
drm/amd/display: Fix compilation error
[Why] The C standard does not specify whether an enum is signed or unsigned. In the function prototype, one of the argument is defined as an enum but its declaration was unit32_t. Fix this by changing the function argument to enum in the declaration. Signed-off-by: Tao.Huang <Tao.Huang@amd.com> Signed-off-by: Florin Iucha <florin.iucha@amd.com> Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com> Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dsc/rc_calc.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dsc/rc_calc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dsc/rc_calc.h b/drivers/gpu/drm/amd/display/dc/dsc/rc_calc.h
index 21723fa6561e..8123827840c5 100644
--- a/drivers/gpu/drm/amd/display/dc/dsc/rc_calc.h
+++ b/drivers/gpu/drm/amd/display/dc/dsc/rc_calc.h
@@ -66,8 +66,8 @@ enum bits_per_comp {
};
enum max_min {
- MM_MIN = 0,
- MM_MAX = 1
+ DAL_MM_MIN = 0,
+ DAL_MM_MAX = 1
};
struct qp_entry {