[igt-dev] [PATCH i-g-t 3/6] RFC tests/i915/kms_frontbuffer_tracking: xe doesn't support tiling as of now

Hogander, Jouni jouni.hogander at intel.com
Thu Jun 1 11:23:49 UTC 2023


On Thu, 2023-06-01 at 16:39 +0530, Joshi, Kunal1 wrote:
> 
> On 6/1/2023 4:12 PM, Hogander, Jouni wrote:
> > On Thu, 2023-06-01 at 10:39 +0530, Kunal Joshi wrote:
> > > XE doesn't support tiling as of now, so set tiling to linear
> > Maybe this should be taken into account in opt_handler as well?
> > I.e.
> > Trying to use tiling other than liner for Xe should result error.
> Hello Jouni,
> 
> This will be over written in setup_drm where we set tiling to linear
> if xe,
> To handle this in opt_handler we will need to open ,close fd,
> can i have debug print stating opt.tiling parameter is overridden as
> XE 
> supports onlylinear tiling,
> how do you see it?

how about:

igt_assert(is_xe_device() && (opt.tiling == TILING_DEFAULT ||
opt.tiling == TILING_LINEAR));

in setup_drm() ?

> 
> 
> Thanks and Regards
> Kunal Joshi



More information about the igt-dev mailing list