Skip to content

Slice/Subslice powergating #51

@djdeath

Description

@djdeath

Hi,

We're currently working on a patch series in the i915 kernel driver to enable per context slice & subslice powergating : https://patchwork.freedesktop.org/series/42285/

Currently we have that feature disabled by default in this i915 series and it can be turned on by setting a sysfs entry. This means that the per context settings are ignored by default (and we keep the powergating configuration to nothing powergated by default, like this is the case on the current kernels).
As far as I know this feature is only useful for performance gains on some media workloads.
Mesa is not planning to make use of this, there it only make sense to run workload on the maximum amount of slices/subslices (as far as we're aware).

We're wondering what's the take from the compute developers?
Would this feature be of any use?

There is a side effect to enabling this feature : switching from one powergating configuration to another takes time (we measure a 50~60us delay on Skylake GT4, the delay grows with the size of the GT) and this delay will occur everytime a context switch happens between 2 contexts of different powergating configurations.

Thanks for your comments!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions