On 5/21/21 2:58 PM, Christian König wrote:
Am 21.05.21 um 14:45 schrieb Nirmoy Das:
Add has_shadow to identify if a BO is shadowed.
Ok that is not going into the right direction.
I was expecting this :) but wasn't sure how to handle it.
Instead of identifying which BOs have a shadow
Am 21.05.21 um 14:45 schrieb Nirmoy Das:
Add has_shadow to identify if a BO is shadowed.
Ok that is not going into the right direction.
Instead of identifying which BOs have a shadow we need to identify if
this is a VM BO or not.
I think the first think you need to do is to move the shadow
Add has_shadow to identify if a BO is shadowed.
Signed-off-by: Nirmoy Das
---
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 2 ++
drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | 5 ++---
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c