[Intel-gfx] [PATCH v2] drm/i915/gt: make a gt sysfs group and move power management files
Andi Shyti
andi at etezian.org
Tue Feb 11 18:12:58 UTC 2020
On Tue, Feb 11, 2020 at 08:10:27PM +0200, Andi Shyti wrote:
> From: Andi Shyti <andi.shyti at intel.com>
>
> The GT has its own properties and in sysfs they should be grouped
> in the 'gt/' directory.
>
> Create the 'gt/' directory in sysfs and move the power management
> related files.
>
> Signed-off-by: Andi Shyti <andi.shyti at intel.com>
> ---
> Hi,
>
> this second version takes into account the compatibility with the
> existing API. Version 1 was breaking it while this second version
> generates the files twice in redundancy.
>
> Thanks Chris and Jani for the review,
> Andi
>
> Changelog:
> ==========
> v1 -> v2:
> - keep the existing files as they are
> - use "intel_gt_*" as prefix instead of "sysfs_*"
As a side note of this patch, the current interface needs to be
declared as obsolete in the ABI, for now it prints a warning
whenever the old (or better existing) interface is called.
Andi
More information about the Intel-gfx
mailing list