public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH 0/7] Reorganize the register picking macros
@ 2017-06-13 19:33 Paulo Zanoni
  2017-06-13 19:33 ` [PATCH 1/7] drm/i915: reorder " Paulo Zanoni
                   ` (7 more replies)
  0 siblings, 8 replies; 20+ messages in thread
From: Paulo Zanoni @ 2017-06-13 19:33 UTC (permalink / raw)
  To: intel-gfx; +Cc: Paulo Zanoni, Rodrigo Vivi

We have 3 different types of macros to pick registers with multiple instances
and each of these types is coded in a different way. I like consistency, so I
wrote this series in order to try to make our code a little more clear regarding
our options and their differences.

Besides the consistency aspect, this series also does a few renames. I'm kinda
afraid this series may get stuck in an endless bikeshed regarding the names. I
know the current names are not very good, but at least the naming is consistent
now, so I think there's value in merging the series. Regardless, I'm completely
open to good naming suggestions.

The only test I've done in the series was to boot SKL. Let's see what the CI
system has to say about it.

Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>

Paulo Zanoni (7):
  drm/i915: reorder the register picking macros
  drm/i915: _MMIO_PORT3 takes a port as an argument
  drm/i915: use variable arguments for the macros that call _PICK
  drm/i915: rename _PICK to _PICK3
  drm/i915: add _PICK macro for the "a + index * (b - a)" macros
  drm/i915: also move version 2 of the register picking macros up
  drm/i915: extract a _PICK2 macro

 drivers/gpu/drm/i915/i915_reg.h | 69 +++++++++++++++++++++--------------------
 1 file changed, 36 insertions(+), 33 deletions(-)

-- 
2.9.4

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

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

end of thread, other threads:[~2017-06-19 10:14 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-13 19:33 [PATCH 0/7] Reorganize the register picking macros Paulo Zanoni
2017-06-13 19:33 ` [PATCH 1/7] drm/i915: reorder " Paulo Zanoni
2017-06-14 17:22   ` Rodrigo Vivi
2017-06-13 19:33 ` [PATCH 2/7] drm/i915: _MMIO_PORT3 takes a port as an argument Paulo Zanoni
2017-06-14 17:23   ` Rodrigo Vivi
2017-06-13 19:33 ` [PATCH 3/7] drm/i915: use variable arguments for the macros that call _PICK Paulo Zanoni
2017-06-14 17:25   ` Rodrigo Vivi
2017-06-13 19:33 ` [PATCH 4/7] drm/i915: rename _PICK to _PICK3 Paulo Zanoni
2017-06-15 20:22   ` Jani Nikula
2017-06-13 19:33 ` [PATCH 5/7] drm/i915: add _PICK macro for the "a + index * (b - a)" macros Paulo Zanoni
2017-06-15 20:26   ` Jani Nikula
2017-06-19 10:14     ` Chauhan, Madhav
2017-06-13 19:33 ` [PATCH 6/7] drm/i915: also move version 2 of the register picking macros up Paulo Zanoni
2017-06-15 20:37   ` Jani Nikula
2017-06-13 19:33 ` [PATCH 7/7] drm/i915: extract a _PICK2 macro Paulo Zanoni
2017-06-14 15:16   ` Ville Syrjälä
2017-06-14 17:34     ` Paulo Zanoni
2017-06-14 17:38     ` Rodrigo Vivi
2017-06-15 20:33       ` Jani Nikula
2017-06-13 19:49 ` ✓ Fi.CI.BAT: success for Reorganize the register picking macros Patchwork

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