overlay: rework misleading gpu_busy_percent check
Above all, we really don't need the gpu_busy_percent node, if the GPU exposes a gpu_metrics node, Although looking closer, the gpu_busy_percent check is meant for something else - to distinguish between the card node (cardX) and the card output node (cardX-output-foo). To top it all up, the check at the very end implies that we can get a case where gpu_metrics and gpu_busy_perfect is missing ... that's not possible. So instead, drop the early gpu_busy_perfect check and properly mandate it later on. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>pull/703/head
parent
9c6de0271f
commit
816d9f6b98
Loading…
Reference in New Issue