public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [RFC 0/8] Display uncore
@ 2019-06-06 21:52 Daniele Ceraolo Spurio
  2019-06-06 21:52 ` [RFC 1/8] drm/i915: use vfuncs for reg_read/write_fw_domains Daniele Ceraolo Spurio
                   ` (10 more replies)
  0 siblings, 11 replies; 17+ messages in thread
From: Daniele Ceraolo Spurio @ 2019-06-06 21:52 UTC (permalink / raw)
  To: intel-gfx

Very rough RFC on splitting GT and display register access to give an
idea of what I was aiming at since this came back into discussion on
IRC.

The first few patches are mainly cleanup and reduction of the usage of
uncore_to_i915. I originally planned to kill uncore_to_i915 entirely
but I see more users are appearing in patches in flight so I've dropped
the removal patch and added an hack to the function ot handle 2 uncores
(yes, I really really want to avoid getting a pointer to i915!).

I'm not convinced in regard to the mmio_debug implementation (patch 5),
so if people think this split make sense any feedback in that area is
welcome. Any feedback in other areas is obviously just as welcome.

The last patch is an example of adaptation for the HDMI code.

Suggested-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>

Daniele Ceraolo Spurio (8):
  drm/i915: use vfuncs for reg_read/write_fw_domains
  drm/i915: kill uncore_sanitize
  drm/i915: dynamically allocate forcewake domains
  drm/i915: explicitly prune forcewake domain
  drm/i915: split out uncore_mmio_debug
  drm/i915: drop forcewake_user_get/put
  drm/i915: introduce display_uncore
  drm/i915: move intel_hdmi to de_uncore

 drivers/gpu/drm/i915/i915_debugfs.c          |  19 +-
 drivers/gpu/drm/i915/i915_drv.c              |  31 +-
 drivers/gpu/drm/i915/i915_drv.h              |   8 +-
 drivers/gpu/drm/i915/intel_device_info.c     |   4 +
 drivers/gpu/drm/i915/intel_hdmi.c            | 275 +++++-----
 drivers/gpu/drm/i915/intel_uncore.c          | 507 +++++++++----------
 drivers/gpu/drm/i915/intel_uncore.h          |  55 +-
 drivers/gpu/drm/i915/selftests/mock_uncore.c |   4 +-
 8 files changed, 475 insertions(+), 428 deletions(-)

-- 
2.20.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2019-06-11 20:04 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-06 21:52 [RFC 0/8] Display uncore Daniele Ceraolo Spurio
2019-06-06 21:52 ` [RFC 1/8] drm/i915: use vfuncs for reg_read/write_fw_domains Daniele Ceraolo Spurio
2019-06-07  8:54   ` Tvrtko Ursulin
2019-06-06 21:52 ` [RFC 2/8] drm/i915: kill uncore_sanitize Daniele Ceraolo Spurio
2019-06-07 13:32   ` Jani Nikula
2019-06-06 21:52 ` [RFC 3/8] drm/i915: dynamically allocate forcewake domains Daniele Ceraolo Spurio
2019-06-06 21:52 ` [RFC 4/8] drm/i915: explicitly prune forcewake domain Daniele Ceraolo Spurio
2019-06-06 21:52 ` [RFC 5/8] drm/i915: split out uncore_mmio_debug Daniele Ceraolo Spurio
2019-06-06 21:58   ` Daniele Ceraolo Spurio
2019-06-06 21:52 ` [RFC 6/8] drm/i915: drop forcewake_user_get/put Daniele Ceraolo Spurio
2019-06-06 21:52 ` [RFC 7/8] drm/i915: introduce display_uncore Daniele Ceraolo Spurio
2019-06-07  8:58   ` Tvrtko Ursulin
2019-06-11 20:04     ` Daniele Ceraolo Spurio
2019-06-06 21:52 ` [RFC 8/8] drm/i915: move intel_hdmi to de_uncore Daniele Ceraolo Spurio
2019-06-06 22:37 ` ✗ Fi.CI.CHECKPATCH: warning for Display uncore Patchwork
2019-06-06 22:42 ` ✗ Fi.CI.SPARSE: " Patchwork
2019-06-06 23:15 ` ✗ Fi.CI.BAT: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox