]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Streamline unclaimed reg debug trace
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Tue, 15 Dec 2015 14:25:10 +0000 (16:25 +0200)
committerMika Kuoppala <mika.kuoppala@intel.com>
Fri, 8 Jan 2016 11:14:04 +0000 (13:14 +0200)
commite3e993c6fabe983f6791d89bad266fde595b193f
treecbb9ebe95c3574bdbac5def252fb9747d6b4c3ef
parent486b5b3e2a2a3101055f4030944a556f3f3c4695
drm/i915: Streamline unclaimed reg debug trace

Remove char* assignments and add branching hint and
also constify the parameters.

This results in a 35 bytes shorter fast path, so author
boldly assumes it helps without doing in-depth assembly
analysis.

v2: use WARN's branching (Chris), commit name (Joonas)

Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1450189512-30360-5-git-send-email-mika.kuoppala@intel.com
drivers/gpu/drm/i915/intel_uncore.c