aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/selftests/i915_request.c
diff options
context:
space:
mode:
authorNirmoy Das <[email protected]>2022-10-14 15:14:27 +0200
committerMatthew Auld <[email protected]>2022-10-19 13:29:21 +0100
commit6667d78a1123d237d66e34923754ebca97d06d39 (patch)
tree86ec5abb43a5c155df8f3f8569de431bf8260287 /drivers/gpu/drm/i915/selftests/i915_request.c
parent2d3093fd5ea0e79cc6ca0e80ca56280ea7b4d0bf (diff)
drm/i915: Refactor ttm ghost obj detection
Currently i915_ttm_to_gem() returns NULL for ttm ghost object which makes it unclear when we should add a NULL check for a caller of i915_ttm_to_gem() as ttm ghost objects are expected behaviour for certain cases. Create a separate function to detect ttm ghost object and use that in places where we expect a ghost obj from ttm. Signed-off-by: Nirmoy Das <[email protected]> Reviewed-by: Matthew Auld <[email protected]> Signed-off-by: Matthew Auld <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/i915/selftests/i915_request.c')
0 files changed, 0 insertions, 0 deletions