linux/drivers/gpu/drm/amd/powerplay/smumgr
Muhammad Falak R Wani a7aabcc8a5 drm/amd/powerplay: use ARRAY_SIZE() to calculate array size.
It is preferred to use ARRAY_SIZE() for size calculation, instead
using sizeof(array)/sizeof(*array). It makes the code more readable.

Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2016-05-16 12:17:25 -04:00
..
Makefile drm/amdgpu: change ELM/BAF to Polaris10/Polaris11 2016-05-04 20:27:57 -04:00
cz_smumgr.c drm/amd/powerplay: use ARRAY_SIZE() to calculate array size. 2016-05-16 12:17:25 -04:00
cz_smumgr.h drm/amd/powerplay: add Carrizo smu support 2015-12-21 16:42:10 -05:00
fiji_smumgr.c drm/amd: Mark some tables as const 2016-05-04 20:20:00 -04:00
fiji_smumgr.h drm/amd/powerplay: mv avfs status to smumgr.h 2016-03-14 13:35:02 -04:00
polaris10_smumgr.c drm/amdgpu: Constify some tables 2016-05-04 20:30:34 -04:00
polaris10_smumgr.h drm/amdgpu: change ELM/BAF to Polaris10/Polaris11 2016-05-04 20:27:57 -04:00
smumgr.c drm/amdgpu: change ELM/BAF to Polaris10/Polaris11 2016-05-04 20:27:57 -04:00
tonga_smumgr.c drm/amd: Mark some tables as const 2016-05-04 20:20:00 -04:00
tonga_smumgr.h drm/amd/powerplay: Add Tonga SMU support 2015-12-21 16:42:14 -05:00