Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-xe] [PATCH 0/3] drm/xe: Add sysfs entry to report per gt memory size
@ 2023-05-04 11:20 Tejas Upadhyay
  2023-05-04 11:18 ` [Intel-xe] ✓ CI.Patch_applied: success for " Patchwork
                   ` (7 more replies)
  0 siblings, 8 replies; 25+ messages in thread
From: Tejas Upadhyay @ 2023-05-04 11:20 UTC (permalink / raw)
  To: intel-xe; +Cc: Tejas Upadhyay

Add sysfs entry to read per gt physical memory
in total including stolen memory.

The sysfs entry added can be read using:
cat /sys/class/drm/card1/gt/gt0/addr_range
cat /sys/class/drm/card1/gt/gt1/addr_range

As it involves drm_class, it required movement in
xe_device init flow, patch for same is part of this
series.

Actual physical memory per GT was dependent on infra patch
from Ruhl, Michael J, so I have added it as part of this
series to pass through pre-merge.
Patchwork: https://patchwork.freedesktop.org/series/117126/#rev3

Cc: Aravind Iddamsetty <aravind.iddamsetty@intel.com>
Signed-off-by: Tejas Upadhyay <tejas.upadhyay@intel.com>

Tejas Upadhyay (3):
  drm/xe: Rework multi tile device memory initialization
  drm/xe: Register drm device prior to gt init
  drm/xe: Add sysfs entry to report per gt memory size

 drivers/gpu/drm/xe/regs/xe_gt_regs.h   |   2 +-
 drivers/gpu/drm/xe/xe_bo.c             |   8 +-
 drivers/gpu/drm/xe/xe_bo.h             |   2 +-
 drivers/gpu/drm/xe/xe_device.c         |   8 +-
 drivers/gpu/drm/xe/xe_device_types.h   |  20 +-
 drivers/gpu/drm/xe/xe_gt_sysfs.c       |  74 ++++++-
 drivers/gpu/drm/xe/xe_gt_sysfs.h       |   1 -
 drivers/gpu/drm/xe/xe_gt_types.h       |  21 +-
 drivers/gpu/drm/xe/xe_migrate.c        |   6 +-
 drivers/gpu/drm/xe/xe_mmio.c           | 279 ++++++++++++++-----------
 drivers/gpu/drm/xe/xe_mmio.h           |   4 +-
 drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c |  30 +--
 12 files changed, 291 insertions(+), 164 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2023-06-06 21:46 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-04 11:20 [Intel-xe] [PATCH 0/3] drm/xe: Add sysfs entry to report per gt memory size Tejas Upadhyay
2023-05-04 11:18 ` [Intel-xe] ✓ CI.Patch_applied: success for " Patchwork
2023-05-04 11:19 ` [Intel-xe] ✓ CI.KUnit: " Patchwork
2023-05-04 11:20 ` [Intel-xe] [PATCH 1/3] drm/xe: Rework multi tile device memory initialization Tejas Upadhyay
2023-05-04 11:20 ` [Intel-xe] [PATCH 2/3] drm/xe: Register drm device prior to gt init Tejas Upadhyay
2023-05-04 12:03   ` Iddamsetty, Aravind
2023-05-04 12:17     ` Upadhyay, Tejas
2023-05-04 11:20 ` [Intel-xe] [PATCH 3/3] drm/xe: Add sysfs entry to report per gt memory size Tejas Upadhyay
2023-05-04 12:43   ` Iddamsetty, Aravind
2023-05-04 12:50     ` Upadhyay, Tejas
2023-05-05 14:40       ` Rodrigo Vivi
2023-05-05 18:03         ` Dixit, Ashutosh
2023-05-08 10:44           ` Upadhyay, Tejas
2023-05-04 11:23 ` [Intel-xe] ✓ CI.Build: success for " Patchwork
2023-05-04 12:04 ` [Intel-xe] [PATCH 0/3] " Iddamsetty, Aravind
2023-05-04 12:15   ` Upadhyay, Tejas
2023-05-29  8:39 ` Upadhyay, Tejas
2023-05-29  8:45   ` Iddamsetty, Aravind
2023-05-30  6:51     ` Iddamsetty, Aravind
2023-05-30  9:31       ` Upadhyay, Tejas
2023-06-02  6:51       ` Upadhyay, Tejas
2023-06-02 15:17         ` Matt Roper
2023-06-05  6:08           ` Upadhyay, Tejas
2023-06-05 13:38           ` Upadhyay, Tejas
2023-06-06 21:46             ` Matt Roper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox