OSDN Git Service

drm/amd/display: Fix compilation error
authorTao.Huang <Tao.Huang@amd.com>
Fri, 18 Sep 2020 08:17:44 +0000 (11:17 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Nov 2020 20:29:33 +0000 (15:29 -0500)
commit585e7cedf304ce76410c922e632bef04fd316ead
tree946a027206212fdb569e747fe03e4fb1590ae66c
parentdbb60031dd0c2b85f10ce4c12ae604c28d3aaca4
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>
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_dpp.h
drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c
drivers/gpu/drm/amd/display/dc/dsc/rc_calc.h