]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Add non claimed mmio checking for vlv/chv
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Tue, 15 Dec 2015 17:45:42 +0000 (19:45 +0200)
committerMika Kuoppala <mika.kuoppala@intel.com>
Fri, 8 Jan 2016 11:14:13 +0000 (13:14 +0200)
commitc87121e4c6699d57ceca6b1c9488b0a4766138b5
tree5d85037bfce8f91e21b03dff73453b3cbf733610
parente3e993c6fabe983f6791d89bad266fde595b193f
drm/i915: Add non claimed mmio checking for vlv/chv

Imre mentioned that chv might also have capability to
track unclaimed mmio accesses. Ville added that
both chv and vlv has this capability and he had already
made this way back [1]. Mimic what Ville's patch does
but adapt on top of less frequent mmio accesses by
omitting checking always on reg writes.

This patch is untested as of now.

v2: overflow handling and posting omitted (Ville)

References: [1] http://lists.freedesktop.org/archives/intel-gfx/2013-May/027599.html
Cc: Imre Deak <imre.deak@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1450201542-22918-1-git-send-email-mika.kuoppala@intel.com
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_uncore.c