[PATCH v2 0/3] drm/i915: A couple of if/else ladder refactors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

v2: Fix patch 2 not considering intel_gt_check_clock_frequency() call to read
frequency (Gustavo)

Signed-off-by: Lucas De Marchi <lucas.demarchi@xxxxxxxxx>
---
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 | 174 ++++++++++++-------------
 2 files changed, 97 insertions(+), 128 deletions(-)
---
base-commit: 088771790e5d121c70c358468abbebb4710eb02f
change-id: 20220908-if-ladder-df33a06d4f4e

Best regards,
-- 
Lucas De Marchi <lucas.demarchi@xxxxxxxxx>




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux