diff options
| author | Riana Tauro <riana.tauro@intel.com> | 2023-06-13 12:42:32 +0300 |
|---|---|---|
| committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-12-21 19:34:38 +0300 |
| commit | 1e80d0c3c44806e6ff885102a937ea838a01f560 (patch) | |
| tree | cfccbc72baa108071a490053f4b01b703b17a22b /include/linux/patchkey.h | |
| parent | 2846d10339a2cc304a1ae55ce75e61eb7f55eb0b (diff) | |
| download | linux-1e80d0c3c44806e6ff885102a937ea838a01f560.tar.xz | |
drm/xe: Fix GT looping for standalone media
gt_count is only being incremented when initializing the primary GT;
since the media GT sets the ID directly, gt_count is not incremented
again, resulting in an incorrect count on MTL. Use autoincrement while
assigning the media GTs ID to ensure gt_count is correct on MTL and
other future platforms with standalone media.
Signed-off-by: Riana Tauro <riana.tauro@intel.com>
Link: https://lore.kernel.org/r/20230613094232.3703549-1-riana.tauro@intel.com
[mattrope: Tweaked commit message to focus on gt_count importance]
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'include/linux/patchkey.h')
0 files changed, 0 insertions, 0 deletions
