[igt-dev] [Intel-xe] [PATCH i-g-t 2/2] xe_debugfs: Remove guc_enable check.

Rodrigo Vivi rodrigo.vivi at intel.com
Wed Jul 26 14:23:25 UTC 2023


On Wed, Jul 26, 2023 at 12:14:31PM +0200, Kamil Konieczny wrote:
> Hi Rodrigo,
> 
> On 2023-07-25 at 16:56:25 -0400, Rodrigo Vivi wrote:
> > drm-xe-next commit "drm/xe: Invert guc vs execlists parameters and info.")
> > inverted the param to expose the status of the non-default config.
> > 
> > And commit ("drm/xe/uapi: Remove XE_QUERY_CONFIG_FLAGS_USE_GUC")
> > entirely removed the query check.
> > 
> > So, let's simply stop doing this debugfs check here.
> > 
> > Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
> 
> I am sorry, please drop my reply for 1/2 because separate 2/2 patch
> break incremental compile, so merge all this into one commit.
> 
> With that you can add my r-b tag.

Thank you both for the reviews. I squashed both patches together and pushed.

> 
> Regards,
> Kamil
> 
> > ---
> >  tests/xe/xe_debugfs.c | 4 ----
> >  1 file changed, 4 deletions(-)
> > 
> > diff --git a/tests/xe/xe_debugfs.c b/tests/xe/xe_debugfs.c
> > index 5e16a71a0..5434d4645 100644
> > --- a/tests/xe/xe_debugfs.c
> > +++ b/tests/xe/xe_debugfs.c
> > @@ -104,10 +104,6 @@ test_base(int fd, struct drm_xe_query_config *config)
> >  
> >  	igt_assert(igt_debugfs_search(fd, "info", reference));
> >  
> > -	sprintf(reference, "enable_guc %s", config->info[XE_QUERY_CONFIG_FLAGS] &
> > -		XE_QUERY_CONFIG_FLAGS_USE_GUC ? "yes" : "no");
> > -	igt_assert(igt_debugfs_search(fd, "info", reference));
> > -
> >  	sprintf(reference, "tile_count %lld", config->info[XE_QUERY_CONFIG_GT_COUNT]);
> >  	igt_assert(igt_debugfs_search(fd, "info", reference));
> >  
> > -- 
> > 2.41.0
> > 


More information about the igt-dev mailing list