]> git.karo-electronics.de Git - karo-tx-linux.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)
commit8ac3e1bb76cc2e1585be3a5fa7551480e69487c8
tree5d85037bfce8f91e21b03dff73453b3cbf733610
parent4bd0a25d9be2963a15e16126022214e88580103f
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