Tag: 39dabecd991b0a914f044af5824774825fb0923e

drm/i915: Use shorter route to dev_private where possible

Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Where we have a request we can use req->i915 directly instead of going through the engine and device. Coccinelle script: @@ function f; identifier r; @@ f(…, struct drm_i915_gem_request *r, …) { … – engine->dev->dev_private + r->i915 … } @@ struct drm_i915_gem_request *req; @@ ( req-> – engine->dev->dev_private + i915 ) …

Continue reading