Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH 0/4] Simplify uncore register updates
@ 2022-10-03 22:32 Andrzej Hajda
  2022-10-03 22:32 ` [Intel-gfx] [PATCH 1/4] drm/i915/display: Use drm_device alias if defined Andrzej Hajda
                   ` (7 more replies)
  0 siblings, 8 replies; 21+ messages in thread
From: Andrzej Hajda @ 2022-10-03 22:32 UTC (permalink / raw)
  To: intel-gfx; +Cc: Lucas De Marchi, Andrzej Hajda, Rodrigo Vivi

This patchset should not modify behaviour of the code (except patch 3).
It just replaces sequence of uncore read/modify/write with single call.
Moreover it replaces nested pointers with alias if there is one.
All patches except 3rd, were generated using coccinelle (quite ugly)
and adjusted in some cases by hand.

Regards
Andrzej


Andrzej Hajda (4):
  drm/i915/display: Use drm_device alias if defined
  drm/i915/display: Use intel_uncore alias if defined
  drm/i915: refactor intel_uncore_rmw
  drm/i915: use proper helper for register updates

 drivers/gpu/drm/i915/display/icl_dsi.c        |   4 +-
 drivers/gpu/drm/i915/display/intel_display.c  |   2 +-
 .../drm/i915/display/intel_display_debugfs.c  |   2 +-
 drivers/gpu/drm/i915/display/intel_hotplug.c  |   2 +-
 drivers/gpu/drm/i915/display/intel_lvds.c     |  10 +-
 drivers/gpu/drm/i915/display/intel_opregion.c |   2 +-
 drivers/gpu/drm/i915/display/intel_tc.c       |   9 +-
 drivers/gpu/drm/i915/display/vlv_dsi.c        |   2 +-
 drivers/gpu/drm/i915/i915_irq.c               | 237 +++++++-----------
 drivers/gpu/drm/i915/intel_pm.c               |  59 ++---
 drivers/gpu/drm/i915/intel_uncore.h           |   8 +-
 drivers/gpu/drm/i915/vlv_suspend.c            |  28 +--
 12 files changed, 131 insertions(+), 234 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2022-10-04 10:41 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-03 22:32 [Intel-gfx] [PATCH 0/4] Simplify uncore register updates Andrzej Hajda
2022-10-03 22:32 ` [Intel-gfx] [PATCH 1/4] drm/i915/display: Use drm_device alias if defined Andrzej Hajda
2022-10-03 23:45   ` Andi Shyti
2022-10-04  7:59     ` Andrzej Hajda
2022-10-04  7:22   ` Jani Nikula
2022-10-04  7:31     ` Andrzej Hajda
2022-10-04  8:46       ` Jani Nikula
2022-10-04  9:50         ` Andi Shyti
2022-10-04 10:40           ` Jani Nikula
2022-10-03 22:32 ` [Intel-gfx] [PATCH 2/4] drm/i915/display: Use intel_uncore " Andrzej Hajda
2022-10-03 23:45   ` Andi Shyti
2022-10-03 22:32 ` [Intel-gfx] [PATCH 3/4] drm/i915: refactor intel_uncore_rmw Andrzej Hajda
2022-10-03 23:46   ` Andi Shyti
2022-10-04  7:27   ` Jani Nikula
2022-10-03 22:32 ` [Intel-gfx] [PATCH 4/4] drm/i915: use proper helper for register updates Andrzej Hajda
2022-10-03 23:44   ` Andi Shyti
2022-10-04  3:13   ` kernel test robot
2022-10-04  0:15 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Simplify uncore " Patchwork
2022-10-04  0:15 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2022-10-04  0:38 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2022-10-04  7:58 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork

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