drm/i915: make more uncore function work on intel_uncore
Move the init, fini, prune, suspend, resume function to work on intel_uncore instead of dev_priv. Signed-off-by:Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Cc: Paulo Zanoni <paulo.r.zanoni@intel.com> Reviewed-by:
Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20190319183543.13679-5-daniele.ceraolospurio@intel.com
Showing
- drivers/gpu/drm/i915/i915_drv.c 11 additions, 9 deletionsdrivers/gpu/drm/i915/i915_drv.c
- drivers/gpu/drm/i915/intel_uncore.c 137 additions, 136 deletionsdrivers/gpu/drm/i915/intel_uncore.c
- drivers/gpu/drm/i915/intel_uncore.h 6 additions, 6 deletionsdrivers/gpu/drm/i915/intel_uncore.h
- drivers/gpu/drm/i915/selftests/mock_gem_device.c 1 addition, 1 deletiondrivers/gpu/drm/i915/selftests/mock_gem_device.c
- drivers/gpu/drm/i915/selftests/mock_uncore.c 3 additions, 3 deletionsdrivers/gpu/drm/i915/selftests/mock_uncore.c
- drivers/gpu/drm/i915/selftests/mock_uncore.h 1 addition, 1 deletiondrivers/gpu/drm/i915/selftests/mock_uncore.h
Loading
Please register or sign in to comment