]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: also reset the media engine on gen4/5
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 27 Apr 2012 13:17:45 +0000 (15:17 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 5 May 2012 17:46:19 +0000 (19:46 +0200)
commit5ccce180fe6d484454650d8b2a71fde22d311013
tree1a2302c99ae0c2454ec912415ee4c738a0f1d52f
parentd4b8bb2ac1254b98631909251f299f7789b5bed5
drm/i915: also reset the media engine on gen4/5

... we actually use it.

Unfortunately we can't reset both at the same time without also
resetting the display unit, so do render and media separately.

Also replace magic constants with proper #defines.

Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_reg.h