]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7c56e825790cee7aad88a387a6c1e06469db6074
tree946a027206212fdb569e747fe03e4fb1590ae66c
parent44fe4f1bf6ee524db5192e2dc2e1d25cfb0d07e4
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