]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: scan shadow indirect context image when valid
authorTina Zhang <tina.zhang@intel.com>
Thu, 16 Mar 2017 03:16:01 +0000 (23:16 -0400)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Fri, 17 Mar 2017 08:46:45 +0000 (16:46 +0800)
commit2cc7d513d0cbbcc323d62dcc95147c1dbc670f9e
tree322e1532d76b7779205a3e789b5ce668eefaee67
parenta04b9117de2c7fd587df005e6c6b47e5fb12f8f9
drm/i915/gvt: scan shadow indirect context image when valid

The shadow indirect context image should be only scanned when valid.
So far, Only RCS ring has the shadow indirect context image. This patch
limits the scan logic only for RCS ring.

v2. refine description of the subject
v3. fix alignment. (Zhenyu)

Signed-off-by: Tina Zhang <tina.zhang@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/scheduler.c