sna: Allow the debugger to map bo from the batch during kgem_submit()
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
2fabb5068d
commit
e39ea29bcc
|
|
@ -1888,7 +1888,7 @@ void *kgem_bo_map(struct kgem *kgem, struct kgem_bo *bo, int prot)
|
|||
{
|
||||
void *ptr;
|
||||
|
||||
assert(bo->refcnt);
|
||||
assert(bo->refcnt || bo->exec); /* allow for debugging purposes */
|
||||
assert(!bo->purged);
|
||||
|
||||
if (IS_CPU_MAP(bo->map)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue