[igt-dev] [PATCH i-g-t v2] tests/kms_dp_dsc: Force a full modeset when we force dsc enable

Imre Deak imre.deak at intel.com
Mon Apr 8 20:48:59 UTC 2019


On Mon, Apr 08, 2019 at 11:39:27PM +0300, Imre Deak wrote:
> On Mon, Apr 08, 2019 at 12:06:37PM -0700, Manasi Navare wrote:
> > On Mon, Apr 08, 2019 at 03:08:05PM +0300, Imre Deak wrote:
> > > On Fri, Apr 05, 2019 at 03:55:49PM -0700, Manasi Navare wrote:
> > > > DSC enable gets configured during compute_config and needs
> > > > a full modeset to force DSC.
> > > > Sometimes in between the tests, if the initial output is same as the
> > > > mode being set for DSC then it will not do a full modeset.
> > > > So we disable the output before forcing a mode with DSC enable.
> > > > 
> > > > You need the kernel patch:
> > > > https://patchwork.freedesktop.org/series/59084/
> > > > 
> > > > v2:
> > > > * Restore the value of force dsc enable after the test and in igt_exit_handler
> > > > * Add igt_install_exit_handler to restore values on fail/exit

Also, please split the fix restoring force_dsc_en into a separate patch. 

--Imre


More information about the igt-dev mailing list