]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Function per early graphics quirk
authorJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Fri, 22 Apr 2016 10:45:49 +0000 (13:45 +0300)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Mon, 25 Apr 2016 10:30:59 +0000 (13:30 +0300)
commitee0629cfd3c16c716801c84e939ff5db5e23f54d
treeed7196bbc227b0bb4dea6657c5cf2981d3866de4
parentc0dd3460b28626430b83b9bf80af4c5a2bd4a53b
drm/i915: Function per early graphics quirk

Move graphics stolen memory related early quirk into a function to
allow easy adding of other graphics quirks to fix memory maps on
machines running old BIOS versions.

While at it;
- _funcs -> _ops to follow de facto naming
- make the iteration code tad more readable
- remove unused variables

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Acked-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
arch/x86/kernel/early-quirks.c