Re: [RFC 10/14] drm/i915/pxp: Enable PXP power management

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

 



Quoting Daniele Ceraolo Spurio (2021-02-06 02:09:21)
> +       if (!ret) {
> +               ret = wait_for(!pxp->termination_in_progress, 10);

This only works by chance. The compiler doesn't even have to reload the
variable. See struct completion.
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux