diff options
Diffstat (limited to 'tests/kms_atomic.c')
-rw-r--r-- | tests/kms_atomic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_atomic.c b/tests/kms_atomic.c index e794a62b..d6273f4f 100644 --- a/tests/kms_atomic.c +++ b/tests/kms_atomic.c @@ -443,7 +443,7 @@ static void crtc_populate_req(struct kms_atomic_crtc_state *crtc, { if (crtc->out_fence_ptr) crtc_set_prop(req, crtc, IGT_CRTC_OUT_FENCE_PTR, - (uint64_t) crtc->out_fence_ptr); + to_user_pointer(crtc->out_fence_ptr)); crtc_set_prop(req, crtc, IGT_CRTC_MODE_ID, crtc->mode.id); crtc_set_prop(req, crtc, IGT_CRTC_ACTIVE, crtc->active); |