[PATCH 1/3] drm/xe: Add XE_BO_FLAG_PINNED_WONTNEED
Lucas De Marchi
lucas.demarchi at intel.com
Thu Oct 31 04:23:40 UTC 2024
On Tue, Oct 29, 2024 at 02:55:11PM +0000, Matthew Brost wrote:
>On Tue, Oct 29, 2024 at 09:30:50AM -0400, Rodrigo Vivi wrote:
>> On Mon, Oct 28, 2024 at 05:32:22PM -0700, Matthew Brost wrote:
>> > Not all BOs need to restored on resume / d3cold exit, add
>> > XE_BO_FLAG_PINNED_WONTNEED which skips restoring of BOs rather just
>> > allocates VRAM for the BO. This should slighly speedup resume / d3cold
>> > exit flows.
>> >
>> > Marking GuC ADS, GuC CT, GuC log, GuC PC, and SA as WONTNEED.
>>
>> What about s/WONTNEED/NORESTORE ?
since you are renaming, can you quantify "This should slighly speedup
resume"?
I think you can just trace xe_bo_evict_pinned and xe_bo_restore_pinned
and see how much it improves...
Lucas De Marchi
More information about the Intel-xe
mailing list