diff options
| author | Chris Wilson <[email protected]> | 2019-08-06 08:42:19 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2019-08-06 09:36:22 +0100 |
| commit | 361f9dc2436812cbcf727fe73d0a4c11ca895fbb (patch) | |
| tree | 874102596f1fdd4f5bc4e0d4994194c969c3c8bc /tools/perf/scripts/python/powerpc-hcalls.py | |
| parent | 6c86e5ff2617efaca3db745132de0f004a7494e7 (diff) | |
drm/i915: Use drm_i915_private directly from drv_get_drvdata()
As we store a pointer to i915 in the drvdata field (as the pointer is both
an alias to the drm_device and drm_i915_private), we can use the stored
pointer directly as the i915 device.
v2: Store and use i915 inside drv_get_drvdata()
v3: Only expect i915 inside drv_get_drvdata() so drop the assumed
i915/drm equivalence.
Signed-off-by: Chris Wilson <[email protected]>
Cc: Andi Shyti <[email protected]>
Reviewed-by: Andi Shyti <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions