[Intel-xe] [PATCH 2/5] drm/xe: Add debugfs files to evict everything.

Thomas Hellström thomas.hellstrom at linux.intel.com
Tue May 30 14:41:06 UTC 2023


On 5/29/23 15:35, Maarten Lankhorst wrote:
> Hey,
>
> On 2023-05-26 15:02, Thomas Hellström wrote:
>> On 5/26/23 14:10, Maarten Lankhorst wrote:
>>> Easy for testing, when you just want your BO evicted.
>>>
>>> Signed-off-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
>> Do we have some documentation somewhere about what our debugfs entries are doing that needs updating?
> I've not seen any documentation for those specific debugfs entries.
>> Also can we evict stolen memory?
> What is useful to evict? I think all of our users of stolen memory only use it pinned.

What I meant was, assuming that we have evictable stolen memory, can 
xe_bo_move() handle it properly, even when accessed as system /ggtt? If 
not, should we ditch the debugfs entry for stolen for now?

/Thomas



>
> ~Maarten
>


More information about the Intel-xe mailing list