]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/ttm: fixup build failure
authorMatthew Auld <matthew.auld@intel.com>
Tue, 23 Nov 2021 12:58:14 +0000 (12:58 +0000)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Tue, 23 Nov 2021 16:36:22 +0000 (16:36 +0000)
commit86e90d5acba6fe7dfb95ee44dccd7f70647de66e
treea66a7d5e447e3677d6300fa1141a6f891376a0a2
parent531f7e9239497dad2936449de1b33529509890d2
drm/i915/ttm: fixup build failure

drm-intel-gt-next fails to build with:

drivers/gpu/drm/i915/gem/i915_gem_ttm.c: In function ‘vm_fault_ttm’:
drivers/gpu/drm/i915/gem/i915_gem_ttm.c:862:23: error: too many arguments to function ‘ttm_bo_vm_fault_reserved’
  862 |                 ret = ttm_bo_vm_fault_reserved(vmf, vmf->vma->vm_page_prot,
      |                       ^~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211123125814.1703220-1-matthew.auld@intel.com
drivers/gpu/drm/i915/gem/i915_gem_ttm.c