Fix build problems
parent
7317e774b5
commit
eeff906aa0
|
@ -217,7 +217,7 @@ static struct page *drm_bo_vm_fault(struct vm_area_struct *vma,
|
|||
|
||||
mutex_lock(&bo->mutex);
|
||||
|
||||
err = drm_bo_wait(bo, 0, 1, 0);
|
||||
err = drm_bo_wait(bo, 0, 1, 0, 1);
|
||||
if (err) {
|
||||
data->type = (err == -EAGAIN) ?
|
||||
VM_FAULT_MINOR : VM_FAULT_SIGBUS;
|
||||
|
|
|
@ -351,7 +351,7 @@ int main(int argc, char **argv)
|
|||
|
||||
printf("Starting test\n");
|
||||
|
||||
fd = drmOpenControl(0);
|
||||
fd = drmOpen("i915", NULL);
|
||||
|
||||
if (fd < 0) {
|
||||
printf("Failed to open the card fb (%d)\n",fd);
|
||||
|
|
Loading…
Reference in New Issue