aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2016-11-22 17:57:14 +0000
committerZhang Rui <[email protected]>2016-11-30 02:25:41 +0000
commit556238e45c8deacb665fbee3944201b65cead594 (patch)
treebbfabe76bc26a636a8503555099da3b82b49f638 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentthermal/x86_pkg_temp: Move work into package struct (diff)
downloadkernel-556238e45c8deacb665fbee3944201b65cead594.tar.gz
kernel-556238e45c8deacb665fbee3944201b65cead594.zip
thermal/x86_pkg_temp: Sanitize package management
Packages are kept in a list, which must be searched over and over. We can be smarter than that and just store the package pointers in an array which is allocated at init time. Sizing of the array is determined from the topology information. That makes the package search a simple array lookup. Signed-off-by: Thomas Gleixner <[email protected]> Tested-by: Srinivas Pandruvada <[email protected]> Signed-off-by: Zhang Rui <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions