mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-25 23:30:10 +01:00
Fix build problems
This commit is contained in:
parent
7317e774b5
commit
eeff906aa0
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue