util: kernel: gpu-mem: Improve process for finding gpu node 58/277258/3
authorDongwoo Lee <dwoo08.lee@samsung.com>
Mon, 4 Jul 2022 02:14:38 +0000 (11:14 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Thu, 7 Jul 2022 01:54:16 +0000 (01:54 +0000)
commit92ec572910fa6bfca7199ee3cd75989c29f61b94
treeb3bdd70cecec80e7147adbd810c556006fe1764e
parentdf48eead3b4382eade57857dac6b054d441b8a05
util: kernel: gpu-mem: Improve process for finding gpu node

To get rid of redundant gpu node checking at every update, finding gpu
node will be proceeded at once as constructor.

Change-Id: I30c18784f578e224e812c9ee9e0d9a4704cf901a
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
include/util/gpu-mem.h
include/util/kernel.h
src/util/kernel.c