Re: [PATCH 2/3] drm/vc4: Enable runtime PM.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Eric Anholt <eric@xxxxxxxxxx> writes:
> +#ifdef CONFIG_PM_SLEEP
> +static int vc4_v3d_runtime_suspend(struct device *dev)
> +{
> +	struct vc4_v3d *v3d = dev_get_drvdata(dev);
> +	struct vc4_dev *vc4 = v3d->vc4;
> +
> +	vc4_irq_uninstall(vc4->dev);
> +
> +	return 0;
> +}
> +
> +static int vc4_v3d_runtime_resume(struct device *dev)
> +{
> +	struct vc4_v3d *v3d = dev_get_drvdata(dev);
> +	struct vc4_dev *vc4 = v3d->vc4;
> +
> +	vc4_v3d_init_hw(vc4->dev);
> +	vc4_irq_postinstall(vc4->dev);
> +
> +	return 0;
> +}
> +#endif

kbuild test robot caught that this #ifdef should have been CONFIG_PM,
not CONFIG_PM_SLEEP.  Fixed in v2.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux