mbox series

[v1,0/3] drm/i915: A couple of if/else ladder refactors

Message ID 20220908-if-ladder-v1-0-9949a713ca08@intel.com (mailing list archive)
Headers show
Series drm/i915: A couple of if/else ladder refactors | expand

Message

Lucas De Marchi Sept. 8, 2022, 8:08 p.m. UTC
Refactor code to follow the same convention as last platform first.  This
series includes one patch that had already been reviewed, for frequency read
and 2 more refactors.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>

---
Lucas De Marchi (3):
      drm/i915: Invert if/else ladder for frequency read
      drm/i915/gt: Extract per-platform function for frequency read
      drm/i915: Invert if/else ladder for stolen init

 drivers/gpu/drm/i915/gem/i915_gem_stolen.c     |  51 +++-----
 drivers/gpu/drm/i915/gt/intel_gt_clock_utils.c | 171 +++++++++++--------------
 2 files changed, 93 insertions(+), 129 deletions(-)
---
base-commit: adc57f2b82896fed07bc8e34956c15bb1448fca2
change-id: 20220908-if-ladder-df33a06d4f4e

Best regards,