projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'drm-next-2018-06-15' of git://anongit.freedesktop.org/drm/drm
[linux-2.6-microblaze.git]
/
drivers
/
gpu
/
drm
/
amd
/
powerplay
/
hwmgr
/
pp_psm.c
diff --git
a/drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm.c
b/drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm.c
index
323990b
..
91ffb7b
100644
(file)
--- a/
drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm.c
+++ b/
drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm.c
@@
-50,7
+50,7
@@
int psm_init_power_state_table(struct pp_hwmgr *hwmgr)
return 0;
}
- hwmgr->ps = k
zalloc(size * table_entries
, GFP_KERNEL);
+ hwmgr->ps = k
calloc(table_entries, size
, GFP_KERNEL);
if (hwmgr->ps == NULL)
return -ENOMEM;