drm/i915: suppress atomic commit error message under gvt-g env
authorBing Niu <bing.niu@intel.com>
Wed, 8 Mar 2017 20:14:03 +0000 (15:14 -0500)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 8 Mar 2017 11:23:29 +0000 (13:23 +0200)
commita94f2b92d3cfd31bd838f2fbf0c2f8fb8d826af7
tree5b639977fb4932e87a65767c44914b0a8f6663b4
parentc3f8ad57a01a31397e5a0349a226a32f35ddc19c
drm/i915: suppress atomic commit error message under gvt-g env

under virtualization enviroment, it is possible guest update pipe
registers across vblank intervals due to overhead of mmio traps or vm
schedule out. However, it is safe since those pipe update happen in
virual registers and will not be committed to hardware. suppress that
atomic commit error message under virtualization case to avoid
confusing user.

v2: per ville's comment: return early and against Maarten's patch
v3: coding style clean

Signed-off-by: Bing Niu <bing.niu@intel.com>
Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1489004043-15449-1-git-send-email-bing.niu@intel.com
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/i915/intel_sprite.c