diff options
author | Christian König <christian.koenig@amd.com> | 2021-07-15 14:17:19 +0200 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2022-01-26 15:30:19 +0100 |
commit | fda8d552c9c7783d4b29aeb6350d7404b31cdbff (patch) | |
tree | 5522b74728e5ef71e87ba35c6c4de3e0008b8e33 /arch/ia64 | |
parent | 3f268ef06f8cf3c481dbd5843d564f5170c6df54 (diff) |
drm/ttm: add a weak BO reference to the resource v3
Keep track for which BO a resource was allocated.
This is necessary to move the LRU handling into the resources.
A bit problematic is i915 since it tries to use the resource
interface without a BO which is illegal from the conceptional
point of view.
v2: Document that this is a weak reference and add a workaround for i915
v3: further document that this is protected by ttm_device::lru_lock and
clarify the i915 workaround
Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Huang Rui <ray.huang@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220124122514.1832-4-christian.koenig@amd.com
Diffstat (limited to 'arch/ia64')
0 files changed, 0 insertions, 0 deletions