On Fri, Oct 30, 2026 at 6:46 AM Konrad Dybcio <[email protected]> wrote: > > On 10/29/26 9:16 PM, Rob Clark wrote: > > We're going to start using more of the CP_PROTECT_PIPE regs. Rather > > than missing to restore one somewhere, just add them all to the pwrup > > reglist. > > > > Signed-off-by: Rob Clark <[email protected]> > > --- > > I was kinda hoping we would iterate over them in the code instead > anyway for this one
I think it is possible to generate these.. so the looping would be in py ;-) It might be worth re-purposing the 'value' field in adreno_reglist_pipe to be # of consecutive regs? That would be a straightforward way to compress the table on the generation side, regardless of regs being an <array> or not. For all the generated tables (esp. the snapshot tables) it would also be nice to deduplicate identical tables.. either at generation time or with the compiler. > Reviewed-by: Konrad Dybcio <[email protected]> thx BR, -R
