]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Wrap port cancellation into a function
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Fri, 22 Sep 2017 12:43:05 +0000 (15:43 +0300)
committerMika Kuoppala <mika.kuoppala@intel.com>
Mon, 25 Sep 2017 08:33:40 +0000 (11:33 +0300)
commite8f36dbb9e4ee016cec0f16cb29cf866ed3c7bd6
tree5cbea8d7b49f8ceaa62b86185bc8f500cd6a5738
parentd639e2fc410f1cf566c70ac6c624e4575a1ed14f
drm/i915: Wrap port cancellation into a function

On reset and wedged path, we want to release the requests
that are tied to ports and then mark the ports to be unset.
Introduce a function for this.

v2: rebase
v3: drop local, keep GEM_BUG_ON (Michał, Chris)
v4: rebase

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Michał Winiarski <michal.winiarski@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20170922124307.10914-3-mika.kuoppala@intel.com
drivers/gpu/drm/i915/intel_lrc.c