[Intel-gfx] [PATCH 0/4] GuC code reorganization

Arkadiusz Hiler arkadiusz.hiler at intel.com
Thu Nov 24 11:30:39 UTC 2016


With HuC being imminent we could benefit from some code reorganization.
There will be more uC than just GuC so we should name files accordingly.

There is also need to use host2guc_*() family of functions, which are currently
limited to submission only.

Arkadiusz Hiler (4):
  drm/i915: Rename intel_guc.h to intel_uc.h
  drm/i915/guc: Move host2guc_*() to intel_uc.c
  drm/i915/guc: Init action_lock in the loader
  drm/i915/guc: Remove spurious include

 drivers/gpu/drm/i915/Makefile                    |   3 +-
 drivers/gpu/drm/i915/i915_drv.h                  |   2 +-
 drivers/gpu/drm/i915/i915_guc_submission.c       | 142 +-------------------
 drivers/gpu/drm/i915/intel_guc_loader.c          |   3 +-
 drivers/gpu/drm/i915/intel_uc.c                  | 164 +++++++++++++++++++++++
 drivers/gpu/drm/i915/{intel_guc.h => intel_uc.h} |  17 ++-
 6 files changed, 185 insertions(+), 146 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/intel_uc.c
 rename drivers/gpu/drm/i915/{intel_guc.h => intel_uc.h} (90%)

-- 
2.7.4



More information about the Intel-gfx mailing list