]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: keep oa config in shadow ctx
authorMin He <min.he@intel.com>
Fri, 2 Mar 2018 02:00:25 +0000 (10:00 +0800)
committerZhi Wang <zhi.a.wang@intel.com>
Fri, 9 Mar 2018 13:53:18 +0000 (21:53 +0800)
commit25b11e3b6d5ce7187a2571e297c65dcd73bfeb9d
treea77a09c7b4dcc81f1fbba56da95f640fc4e06772
parent994ac630e4a88c89dbb2597663c2e0a7401bacd4
drm/i915/gvt: keep oa config in shadow ctx

When populating shadow ctx from guest, we should handle oa related
registers in hw ctx, so that they will not be overlapped by guest oa
configs. This patch made it possible to capture oa data from host for
both host and guests.

Signed-off-by: Min He <min.he@intel.com>
Signed-off-by: Zhi Wang <zhi.a.wang@intel.com>
drivers/gpu/drm/i915/gvt/scheduler.c
drivers/gpu/drm/i915/gvt/scheduler.h