mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-01 15:08:00 +02:00
modetest: use gtt unmap for object
Match gtt map/unmap for correctness.
This commit is contained in:
parent
2fa2db138b
commit
81644198ae
1 changed files with 1 additions and 1 deletions
|
|
@ -447,7 +447,7 @@ create_test_buffer(drm_intel_bufmgr *bufmgr,
|
|||
d = div(i, width);
|
||||
fb_ptr[i] = 0x00130502 * (d.quot >> 6) + 0x000a1120 * (d.rem >> 6);
|
||||
}
|
||||
drm_intel_bo_unmap(bo);
|
||||
drm_intel_gem_bo_unmap_gtt(bo);
|
||||
|
||||
*bo_out = bo;
|
||||
*stride_out = stride;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue