drm/i915: add cherryview specfic forcewake in execlists_elsp_write
authorDeepak S <deepak.s@linux.intel.com>
Tue, 9 Sep 2014 13:44:16 +0000 (19:14 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 19 Sep 2014 12:41:17 +0000 (14:41 +0200)
commita01b0e946f6db0a145dd92d7a44babd628d2c7a8
tree47b85d702b22ffb2e8c73c2a743c67c23d1a47b8
parentcf303626748e0a5c059e453d025539583d870116
drm/i915: add cherryview specfic forcewake in execlists_elsp_write

In chv, we have two power wells Render & Media. We need to use
corresponsing forcewake count. If we dont follow this we are getting
error "*ERROR*: Timed out waiting for forcewake old ack to clear" due to
multiple entry into __vlv_force_wake_get.

Signed-off-by: Deepak S <deepak.s@linux.intel.com>
Requested-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_lrc.c