[Intel-gfx] [PATCH v2 2/2] drm/i915/icl: Add IOCTL for getting MOCS table version

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Tue Oct 23 09:06:20 UTC 2018


Quoting Tomasz Lis (2018-10-22 20:13:15)
> For Icelake and above, MOCS table for each platform is published
> within bspec. The table is versioned, and new entries are assigned
> a version number. Existing entries do not change and their version
> is constant.
> 
> This introduces a parameter which allows getting max version number
> of the MOCS entries currently supported, ie. value of 2 would mean
> only version 1 and version 2 entries are initialized and can be used
> by the user mode clients.
> 
> BSpec: 34007
> Signed-off-by: Tomasz Lis <tomasz.lis at intel.com>
> Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Mika Kuoppala <mika.kuoppala at intel.com>
> Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
> Cc: Zhenyu Wang <zhenyuw at linux.intel.com>
> Cc: Zhi A Wang <zhi.a.wang at intel.com>
> Cc: Anuj Phogat <anuj.phogat at intel.com>

As a heads-up, as this adds to the uAPI, this needs Acked-by from the
respective userspace that will use the information, a link to the
userspace change series and IGT test series all linked from the patch
text.

But as we're hoping to stay at version 1, I also would see that we only
need to add this IOCTL if we get a version 2 of the tables. So there
should be no need for this interface before we have some variance.

Regards, Joonas


More information about the Intel-gfx mailing list