On Tue, 01 Dec 2020, "Navare, Manasi" <manasi.d.navare@xxxxxxxxx> wrote: > On Tue, Nov 10, 2020 at 12:56:40PM +0200, Jani Nikula wrote: >> On Thu, 22 Oct 2020, Manasi Navare <manasi.d.navare@xxxxxxxxx> wrote: >> > + /* Programming adjustments for 0 based regs */ >> > + trans_vrr_vmax = crtc_state->vrr.vtotalmax - 1; >> > + trans_vrr_vmin = crtc_state->vrr.vtotalmin - 1; >> > + trans_vrr_flipline = crtc_state->vrr.vtotalmin - 1; >> > + >> > + trans_push = TRANS_PUSH_EN; >> >> Frankly I'd just throw away the above four temp variables. > > Okay and use them directly in de_write ? Yes. BR, Jani. -- Jani Nikula, Intel Open Source Graphics Center _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx