On 7/20/25 2:16 PM, Akhil P Oommen wrote: > Add a new quirk to denote IFPC (Inter-Frame Power Collapse) support > for a gpu. Based on this flag send the feature ctrl hfi message to > GMU to enable IFPC support. > > Signed-off-by: Akhil P Oommen <akhi...@oss.qualcomm.com> > ---
[...] > +static int a6xx_hfi_enable_ifpc(struct a6xx_gmu *gmu) > +{ > + if (gmu->idle_level != GMU_IDLE_STATE_IFPC) > + return 0; > + > + return a6xx_hfi_feature_ctrl_msg(gmu, HFI_FEATURE_IFPC, 1, 0x1680); > +} If this function is not used anywhere else, you may want to inline it, checking for the opposite condition Konrad