Re: [Intel-gfx] [PATCH v2 4/8] drm/i915: move and rename i915_runtime_pm

2019-06-12 Thread Daniele Ceraolo Spurio
On 6/12/19 3:14 PM, Chris Wilson wrote: Quoting Daniele Ceraolo Spurio (2019-06-12 19:37:43) Asserts aside, all the code working on this structure is in intel_runtime_pm.c and uses the intel_ prefix, so move the structure to intel_runtime_pm.h and adopt the same prefix. Since all the asserts

Re: [Intel-gfx] [PATCH v2 4/8] drm/i915: move and rename i915_runtime_pm

2019-06-12 Thread Chris Wilson
Quoting Daniele Ceraolo Spurio (2019-06-12 19:37:43) > Asserts aside, all the code working on this structure is in > intel_runtime_pm.c and uses the intel_ prefix, so move the > structure to intel_runtime_pm.h and adopt the same prefix. > > Since all the asserts are now working on the runtime_pm s

[Intel-gfx] [PATCH v2 4/8] drm/i915: move and rename i915_runtime_pm

2019-06-12 Thread Daniele Ceraolo Spurio
Asserts aside, all the code working on this structure is in intel_runtime_pm.c and uses the intel_ prefix, so move the structure to intel_runtime_pm.h and adopt the same prefix. Since all the asserts are now working on the runtime_pm structure, bring them across as well. v2: drop unneeded include