ac: Clear meminfo to avoid valgrind warning.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 14 Jun 2018 22:01:43 +0000 (00:01 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sat, 16 Jun 2018 17:03:47 +0000 (19:03 +0200)
commitc4714f698bf1eda6ee77304f8abe0a92be7a55e7
treea7569c43387736553ac5bbc2dddae38cad840268
parent5917761e3dddc968d5ccac9b282b7cb8d3da866f
ac: Clear meminfo to avoid valgrind warning.

Somehow valgrind misses that the value is initialized by the ioctl.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/common/ac_gpu_info.c