[Intel-gfx] [PATCH] drm/i915/gt: Fixup config ifdeffery for pm_suspend_target_state

Andi Shyti andi.shyti at intel.com
Thu Nov 21 09:52:08 UTC 2019


Hi Chris,

> 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 defines.
> 
> Reported-by: kbuild-all at lists.01.org
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Fixes: a70a9e998e8e ("drm/i915: Defer rc6 shutdown to suspend_late")
> Cc: Andi Shyti <andi.shyti at intel.com>
> Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

Reviewed-by: Andi Shyti <andi.shyti at intel.com>

Thanks,
Andi


More information about the Intel-gfx mailing list