drm/i915: Yet another if/else sort of newer to older platforms.
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Fri, 1 Mar 2019 17:27:03 +0000 (09:27 -0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 4 Mar 2019 18:08:13 +0000 (10:08 -0800)
commit993298af26b16f5cd45bd91977ee73b6cfb53292
tree8f2b64884b063354649748b728af82233130be13
parente781a7a3235e9ff68095d2cd4d9c1e039a0516d7
drm/i915: Yet another if/else sort of newer to older platforms.

No functional change. Just a reorg to match the preferred
behavior.

When rebasing internal branch on top of latest sort I noticed
few more cases that needs to get reordered.

Let's do in a bundle this time and hoping there's no other
missing places.

v2: Check for HSW/BDW ULT before generic IS_HASWELL or
    IS_BROADWELL or it doesn't work as pointed by Ville.
    But also ULT came afterwards anyway.
v3: Accepting suggestions from Lucas:
    Sort CNL/CFL, KBL/SKL, and use <= 8 removing chv and bdw.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190301172703.12139-1-rodrigo.vivi@intel.com
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_perf.c
drivers/gpu/drm/i915/intel_cdclk.c
drivers/gpu/drm/i915/intel_workarounds.c