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

Maarten Lankhorst maarten.lankhorst at linux.intel.com
Tue May 30 14:54:39 UTC 2023


On 2023-05-30 16:41, Thomas Hellström wrote:
>
> 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?

Oops indeed. We should ditch stolen, absolutely no reason for it to be moved. Oversight, didn't realise I submtited that part too.

~Maarten



More information about the Intel-xe mailing list