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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
> Cc: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx>
> Cc: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
> Cc: Mika Kuoppala <mika.kuoppala@xxxxxxxxx>
> Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@xxxxxxxxx>
> Cc: Zhenyu Wang <zhenyuw@xxxxxxxxxxxxxxx>
> Cc: Zhi A Wang <zhi.a.wang@xxxxxxxxx>
> Cc: Anuj Phogat <anuj.phogat@xxxxxxxxx>

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
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux