]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: convert to use le16_add_cpu()
authorQinglang Miao <miaoqinglang@huawei.com>
Mon, 10 Aug 2020 12:59:19 +0000 (20:59 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 10 Aug 2020 21:26:53 +0000 (17:26 -0400)
commit6364f28cf6736a39208437e89525b902d0a46952
treebe8ae7f72410cf4b3e006cc4c787ef95f1fc9683
parent72e47626880a453de91d8d581041a8ecb88e0371
drm/amd/display: convert to use le16_add_cpu()

Convert cpu_to_le16(le16_to_cpu(E1) + E2) to use le16_add_cpu().

Signed-off-by: Qinglang Miao <miaoqinglang@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/bios/command_table.c
drivers/gpu/drm/amd/display/dc/bios/command_table2.c