Re: [PATCH v4 3/3] drm/xe: Faster devcoredump

2024-07-31 Thread Matthew Brost
..@linux.intel.com; Vivi, Rodrigo > Subject: [PATCH v4 3/3] drm/xe: Faster devcoredump > > > > The current algorithm to read out devcoredump is O(N*N) where N is the > > size of coredump due to usage of the drm_coredump_printer in > > xe_devcoredump_read. Switch to a O(N) al

RE: [PATCH v4 3/3] drm/xe: Faster devcoredump

2024-07-31 Thread Cavitt, Jonathan
-Original Message- From: Intel-xe On Behalf Of Matthew Brost Sent: Wednesday, July 31, 2024 2:32 PM To: intel...@lists.freedesktop.org; dri-devel@lists.freedesktop.org Cc: maarten.lankho...@linux.intel.com; Vivi, Rodrigo Subject: [PATCH v4 3/3] drm/xe: Faster devcoredump > &g

[PATCH v4 3/3] drm/xe: Faster devcoredump

2024-07-31 Thread Matthew Brost
The current algorithm to read out devcoredump is O(N*N) where N is the size of coredump due to usage of the drm_coredump_printer in xe_devcoredump_read. Switch to a O(N) algorithm which prints the devcoredump into a readable format in snapshot work and update xe_devcoredump_read to memcpy from the