]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/i915: Change parameters order in i915_gem_batch_pool_init
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Thu, 8 Mar 2018 09:50:35 +0000 (09:50 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 9 Mar 2018 22:21:41 +0000 (22:21 +0000)
commitc5781351450db8ff8374657a8c568772967f3795
tree951e6ccf387f35d660ac0c95c22453af1bc44b4d
parentff491603ffec80d79b970d540f066535c8743796
drm/i915: Change parameters order in i915_gem_batch_pool_init

Function i915_gem_batch_pool_init() failed to follow obj-verb
naming schema. Fix that by swapping function parameters.
While here, change license text to SPDX format.

v2: use intel_engine_init_batch_pool (Chris) as proxy (Michal)

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20180308095037.18264-3-michal.wajdeczko@intel.com
drivers/gpu/drm/i915/i915_gem_batch_pool.c
drivers/gpu/drm/i915/i915_gem_batch_pool.h
drivers/gpu/drm/i915/intel_engine_cs.c