✓ CI.checkpatch: success for series starting with [1/2] drm/xe: Add debugfs to dump GuC's hwconfig

Patchwork patchwork at emeril.freedesktop.org
Thu Aug 15 19:40:23 UTC 2024


== Series Details ==

Series: series starting with [1/2] drm/xe: Add debugfs to dump GuC's hwconfig
URL   : https://patchwork.freedesktop.org/series/137350/
State : success

== Summary ==

+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
9fe5037901cabbcdf27a6fe0dfb047ca1474d363
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 2a393b64da6622a39911ca7705c5a6da7b04c7ec
Author: Matt Roper <matthew.d.roper at intel.com>
Date:   Thu Aug 15 10:26:04 2024 -0700

    drm/xe/mcr: Try to derive dss_per_grp from hwconfig attributes
    
    When steering MCR register ranges of type "DSS," the group_id and
    instance_id values are calculated by dividing the DSS pool according to
    the size of a gslice or cslice, depending on the platform.  These values
    haven't changed much on past platforms, so we've been able to hardcode
    the proper divisor so far.  However the layout may not be so fixed on
    future platforms so the proper, future-proof way to determine this is by
    using some of the attributes from the GuC's hwconfig table.  The
    hwconfig has two attributes reflecting the architectural maximum slice
    and subslice counts (i.e., before any fusing is considered) that can be
    used for the purposes of calculating MCR steering targets.
    
    If the hwconfig is lacking the necessary values (which should only be
    possible on older platforms before these attributes were added), we can
    still fall back to the old hardcoded values.  Going forward the hwconfig
    is expected to always provide the information we need on newer
    platforms, and any failure to do so will be considered a bug in the
    firmware that will prevent us from switching to the buggy firmware
    release.
    
    It's worth noting that over time GuC's hwconfig has provided a couple
    different keys with similar-sounding descriptions.  For our purposes
    here, we only trust the newer key "70" which has supplanted the
    similarly-named key "2" that existed on older platforms.
    
    Bspec: 73210
    Signed-off-by: Matt Roper <matthew.d.roper at intel.com>
    Reviewed-by: Jonathan Cavitt <jonathan.cavitt at intel.com>
+ /mt/dim checkpatch 770743bfee094dc88b4513221aa08773e69a1bb9 drm-intel
5946a58e81fb drm/xe: Add debugfs to dump GuC's hwconfig
2a393b64da66 drm/xe/mcr: Try to derive dss_per_grp from hwconfig attributes




More information about the Intel-xe mailing list