#
# Copyright (C) 2026. Hisilicon Technologies Co., Ltd.
# All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 and
# only version 2 as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#

ifneq ($(wildcard $(HVGR_PATH)/pm/power/$(CHIP_VER_DIR)/Kbuild),)
	include $(HVGR_PATH)/pm/power/$(CHIP_VER_DIR)/Kbuild
endif

INCLUDE_DIR += \
	-I$(HVGR_PATH)/pm/power

SRC += \
	$(HVGR_ROOT)/pm/power/hvgr_pm_core_mask.c \
	$(HVGR_ROOT)/pm/power/hvgr_pm_policy.c \
	$(HVGR_ROOT)/pm/power/hvgr_pm_power.c \
	$(HVGR_ROOT)/pm/power/hvgr_pm_sr.c \
	$(HVGR_ROOT)/pm/power/hvgr_pm_state_machine.c \
	$(HVGR_ROOT)/pm/power/hvgr_pm_gpu_reset.c
