Home
last modified time | relevance | path

Searched hist:e435c608e89a23aaf0c71280f3be50775d7fdf23 (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/gpu/drm/i915/gt/
H A Dintel_gt_pm.cdiff e435c608e89a23aaf0c71280f3be50775d7fdf23 Wed Nov 20 19:22:09 CET 2019 Chris Wilson <chris@chris-wilson.co.uk> drm/i915/gt: Fixup config ifdeffery for pm_suspend_target_state

pm_suspend_target_state is declared under CONFIG_PM_SLEEP but only
defined under CONFIG_SUSPEND. Play safe and only use the symbol if it is
both declared and defined.

Reported-by: kbuild-all@lists.01.org
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Fixes: a70a9e998e8e ("drm/i915: Defer rc6 shutdown to suspend_late")
Cc: Andi Shyti <andi.shyti@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191120182209.3967833-1-chris@chris-wilson.co.uk