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: [email protected]
> Signed-off-by: Chris Wilson <[email protected]>
> Fixes: a70a9e998e8e ("drm/i915: Defer rc6 shutdown to suspend_late")
> Cc: Andi Shyti <[email protected]>
> Cc: Joonas Lahtinen <[email protected]>

Reviewed-by: Andi Shyti <[email protected]>

Thanks,
Andi
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to