RE: [RFC 02/11] drm: move lru_lock from ttm_device to drm_device

2023-11-02 Thread Zeng, Oak
Brian > Subject: Re: [RFC 02/11] drm: move lru_lock from ttm_device to drm_device > > Am 02.11.23 um 05:32 schrieb Oak Zeng: > > In the coming patches, we will share the lru list b/t > > ttm bo based memory allocator and hmm/svm based memory > > allocator. Thus lru_l

Re: [RFC 02/11] drm: move lru_lock from ttm_device to drm_device

2023-11-02 Thread Christian König
Am 02.11.23 um 05:32 schrieb Oak Zeng: In the coming patches, we will share the lru list b/t ttm bo based memory allocator and hmm/svm based memory allocator. Thus lru_lock (which is used mainly to protect the lru list) is moved from struct ttm_device to struct drm_device, so this lock can be sha