[Intel-gfx] [PATCH 0/5] Sorting "if" blocks and statements from newer to older platform

Rodrigo Vivi rodrigo.vivi at intel.com
Fri Oct 19 19:03:30 UTC 2018


This general approach has been acked by Jani on an RFC patch
that I sent yesterday.

But when rebasing it on drm-tip I noticed that it would be better
for review if I split this in very small chunks.

As I wrote yesterday I consider and tried to start using coccinelle
here but in the end, at least for me, it was easier and simpler
to do the manual change directly.

Thanks,
Rodrigo.

Cc: Jani Nikula <jani.nikula at intel.com>

Rodrigo Vivi (5):
  drm/i915: ddi_clock_get sort platforms newer-to-older.
  drm/i915: compute_min_voltage_level sort platforms newer-to-older
  drm/i915: digital_port_connected sort platforms newer-to-older
  drm/i915: power_domains_init sort platforms newer-to-older
  drm/i915: uncore_fw_domains_init sort platforms newer-to-older

 drivers/gpu/drm/i915/intel_ddi.c        | 18 ++++++++---------
 drivers/gpu/drm/i915/intel_dp.c         | 27 ++++++++++++++-----------
 drivers/gpu/drm/i915/intel_runtime_pm.c | 17 ++++++++--------
 drivers/gpu/drm/i915/intel_uncore.c     |  2 +-
 4 files changed, 33 insertions(+), 31 deletions(-)

-- 
2.19.1



More information about the Intel-gfx mailing list