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

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Wed Nov 20 19:21:18 UTC 2019


Quoting Chris Wilson (2019-11-20 20:22:09)
> 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: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

Regards, Joonas


More information about the Intel-gfx mailing list