summaryrefslogtreecommitdiff
path: root/src/ochr_ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ochr_ioctl.c')
-rw-r--r--src/ochr_ioctl.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ochr_ioctl.c b/src/ochr_ioctl.c
index 1482cd2..3a4403e 100644
--- a/src/ochr_ioctl.c
+++ b/src/ochr_ioctl.c
@@ -242,7 +242,7 @@ ochr_yuv_relocation(struct _ViaCommandBuffer *cBuf,
val_req = ochrValReq(node);
if (!(val_req->presumed_flags & VIA_USE_PRESUMED)) {
- val_req->presumed_gpu_offset = (uint64_t) wsbmBOOffset(buffer) -
+ val_req->presumed_gpu_offset = (uint64_t) wsbmBOOffsetHint(buffer) -
wsbmBOPoolOffset(buffer);
val_req->presumed_flags |= VIA_USE_PRESUMED;
}
@@ -329,7 +329,7 @@ ochr_2d_relocation(struct _ViaCommandBuffer *cBuf,
val_req = ochrValReq(node);
if (!(val_req->presumed_flags & VIA_USE_PRESUMED)) {
- val_req->presumed_gpu_offset = (uint64_t) wsbmBOOffset(buffer);
+ val_req->presumed_gpu_offset = (uint64_t) wsbmBOOffsetHint(buffer);
val_req->presumed_flags |= VIA_USE_PRESUMED;
}
@@ -447,8 +447,8 @@ ochr_tex_relocation(struct _ViaCommandBuffer *cBuf,
if (!(val_req->presumed_flags & VIA_USE_PRESUMED)) {
val_req->presumed_flags = VIA_USE_PRESUMED;
val_req->presumed_gpu_offset =
- (uint64_t) wsbmBOOffset(addr[i].buf);
- if (wsbmBOPlacement(addr[i].buf) &
+ (uint64_t) wsbmBOOffsetHint(addr[i].buf);
+ if (wsbmBOPlacementHint(addr[i].buf) &
(WSBM_PL_FLAG_TT | VIA_PL_FLAG_AGP))
val_req->presumed_flags |= VIA_PRESUMED_AGP;
}
@@ -538,7 +538,7 @@ ochr_dest_relocation(struct _ViaCommandBuffer *cBuf,
if (!(val_req->presumed_flags & VIA_USE_PRESUMED)) {
wsbmReadLockKernelBO();
- val_req->presumed_gpu_offset = (uint64_t) wsbmBOOffset(dstBuffer);
+ val_req->presumed_gpu_offset = (uint64_t) wsbmBOOffsetHint(dstBuffer);
wsbmReadUnlockKernelBO();
val_req->presumed_flags |= VIA_USE_PRESUMED;
}