On Wed, 2024-11-06 at 18:50 -0300, Gustavo Sousa wrote: > Although Bspec doesn't explicitly mentions that, as of Xe3_LPD, using > DMC wakelock is the officially recommended way of accessing registers > that would be off during DC5/DC6 and the legacy method (where the DMC > intercepts MMIO to wake up the hardware) is to be avoided. > > As such, update the driver to use the DMC wakelock by default starting > with Xe3_LPD. Since the feature is somewhat new to the driver, also > allow disabling it via a module parameter for debugging purposes. > > For that, make the existing parameter allow values -1 (per-chip > default), 0 (disabled) and 1 (enabled), similarly to what is done for > other parameters. > > v2: > - Describe -1 in the same area where 0 and 1 are described. (Luca) > > Cc: Luca Coelho <luciano.coelho@xxxxxxxxx> > Signed-off-by: Gustavo Sousa <gustavo.sousa@xxxxxxxxx> > --- > Reviewed-by: Luca Coelho <luciano.coelho@xxxxxxxxx> -- Cheers, Luca.