drm/xe/pm: Add vram_d3cold_threshold for d3cold capable device
authorAnshuman Gupta <anshuman.gupta@intel.com>
Wed, 2 Aug 2023 07:04:49 +0000 (12:34 +0530)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:40:19 +0000 (11:40 -0500)
commit3d4b0bfcd97fbb43d4848bafbf605f6d95afa7c8
tree84273f3fd5f9f99bb89f7f3e3e7d89397cae8cb8
parentc7e4a611f35c064ed7bf3f1614647941b0228334
drm/xe/pm: Add vram_d3cold_threshold for d3cold capable device

Do not register vram_d3cold_threshold device sysfs universally
for each gfx device, only register sysfs and set the threshold
value for d3cold capable devices.

Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Anshuman Gupta <anshuman.gupta@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://lore.kernel.org/all/20230802070449.2426563-1-anshuman.gupta@intel.com/
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_pm.c