Message ID | 20240504232955.16022-1-niranjana.vishwanathapura@intel.com (mailing list archive) |
---|---|
Headers | show |
Series | drm/xe: Add Indirect Ring State support | expand |
On Sat, May 04, 2024 at 04:29:48PM -0700, Niranjana Vishwanathapura wrote: please use intel-xe@lists.freedesktop.org for patches touching only xe. probably a good idea to use some gitconfig identities: [sendemail "i915"] to = intel-gfx@lists.freedesktop.org [sendemail "xe"] to = intel-xe@lists.freedesktop.org [sendemail "both"] to = intel-gfx@lists.freedesktop.org to = intel-xe@lists.freedesktop.org [sendemail "igt"] to = igt-dev@lists.freedesktop.org > When Indirect Ring State is enabled, the Ring Buffer state and > Batch Buffer state are context save/restored to/form Indirect > Ring State instead of the LRC. It is the recommended mode for > Xe2, hence enable it by default for Xe2 platforms. > > Signed-off-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com> > > Niranjana Vishwanathapura (4): > drm/xe: Minor cleanup in LRC handling > drm/xe: Add Indirect Ring State support > drm/xe: Dump Indirect Ring State registers > drm/xe/xe2: Enable Indirect Ring State support for Xe2 > > drivers/gpu/drm/xe/regs/xe_engine_regs.h | 9 +- > drivers/gpu/drm/xe/regs/xe_lrc_layout.h | 7 + > drivers/gpu/drm/xe/xe_gt.c | 6 +- > drivers/gpu/drm/xe/xe_gt.h | 7 + > drivers/gpu/drm/xe/xe_gt_types.h | 6 +- > drivers/gpu/drm/xe/xe_guc_ads.c | 5 +- > drivers/gpu/drm/xe/xe_guc_submit.c | 2 +- > drivers/gpu/drm/xe/xe_hw_engine.c | 11 ++ > drivers/gpu/drm/xe/xe_hw_engine_types.h | 4 + > drivers/gpu/drm/xe/xe_lrc.c | 187 +++++++++++++++++++---- > drivers/gpu/drm/xe/xe_lrc.h | 5 +- > drivers/gpu/drm/xe/xe_lrc_types.h | 4 + > drivers/gpu/drm/xe/xe_pci.c | 3 + > drivers/gpu/drm/xe/xe_pci_types.h | 3 + > 14 files changed, 220 insertions(+), 39 deletions(-) > > -- > 2.43.0 >
When Indirect Ring State is enabled, the Ring Buffer state and Batch Buffer state are context save/restored to/form Indirect Ring State instead of the LRC. It is the recommended mode for Xe2, hence enable it by default for Xe2 platforms. Signed-off-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com> Niranjana Vishwanathapura (4): drm/xe: Minor cleanup in LRC handling drm/xe: Add Indirect Ring State support drm/xe: Dump Indirect Ring State registers drm/xe/xe2: Enable Indirect Ring State support for Xe2 drivers/gpu/drm/xe/regs/xe_engine_regs.h | 9 +- drivers/gpu/drm/xe/regs/xe_lrc_layout.h | 7 + drivers/gpu/drm/xe/xe_gt.c | 6 +- drivers/gpu/drm/xe/xe_gt.h | 7 + drivers/gpu/drm/xe/xe_gt_types.h | 6 +- drivers/gpu/drm/xe/xe_guc_ads.c | 5 +- drivers/gpu/drm/xe/xe_guc_submit.c | 2 +- drivers/gpu/drm/xe/xe_hw_engine.c | 11 ++ drivers/gpu/drm/xe/xe_hw_engine_types.h | 4 + drivers/gpu/drm/xe/xe_lrc.c | 187 +++++++++++++++++++---- drivers/gpu/drm/xe/xe_lrc.h | 5 +- drivers/gpu/drm/xe/xe_lrc_types.h | 4 + drivers/gpu/drm/xe/xe_pci.c | 3 + drivers/gpu/drm/xe/xe_pci_types.h | 3 + 14 files changed, 220 insertions(+), 39 deletions(-)