linux/drivers/gpu/drm/amd/display
Jiapeng Chong b72585f1c2 drm/amd/display: Use ARRAY_SIZE for array length
Use of macro ARRAY_SIZE to calculate array size minimizes
the redundant code and improves code reusability.

./drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c:164:45-46: WARNING: Use ARRAY_SIZE.
./drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c:183:47-48: WARNING: Use ARRAY_SIZE.
./drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c:237:45-46: WARNING: Use ARRAY_SIZE.
./drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c:257:47-48: WARNING: Use ARRAY_SIZE.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9405
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-06-27 17:10:39 -04:00
..
amdgpu_dm drm/amd/display: Use periodic detection for ipx/headless 2024-06-27 17:10:38 -04:00
dc drm/amd/display: Fix Makefile copyright notices 2024-06-27 17:10:39 -04:00
dmub drm/amd/display: [FW Promotion] Release 0.0.222.0 2024-06-19 12:46:27 -04:00
include drm/amd/display: Send DP_TOTAL_LTTPR_CNT during detection if LTTPR is present 2024-06-27 17:10:36 -04:00
modules drm/amd/display: Use ARRAY_SIZE for array length 2024-06-27 17:10:39 -04:00
Kconfig amd-drm-next-6.11-2024-06-07: 2024-06-11 14:01:55 +10:00
Makefile drm/amd/display: Refactor DCN3X into component folder 2024-06-14 16:18:55 -04:00