[PATCH v3 2/4] drm/i915/gvt: Tiled Resources mmios are in-context mmios for gen9+
Zhenyu Wang
zhenyuw at linux.intel.com
Mon May 13 02:40:53 UTC 2019
On 2019.05.07 22:15:00 -0400, Yan Zhao wrote:
> TRVATTL3PTRDW(0x4de0-0x4de4), TRNULLDETCT(0x4de8), TRINVTILEDETCT(0x4dec),
> TRTTE(0x4df0), TRVADR(0x4df4) are in-context mmios for gen9+
>
> v3: add fixes tag (zhenyu)
>
> Fixes: 178657139307 ("drm/i915/gvt: vGPU context switch")
> Signed-off-by: Yan Zhao <yan.y.zhao at intel.com>
Ack for the TRTT fixes, thanks!
Acked-by: Zhenyu Wang <zhenyuw at linux.intel.com>
> ---
> drivers/gpu/drm/i915/gvt/mmio_context.c | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/gvt/mmio_context.c b/drivers/gpu/drm/i915/gvt/mmio_context.c
> index fe87fb87776c..46a6b461658d 100644
> --- a/drivers/gpu/drm/i915/gvt/mmio_context.c
> +++ b/drivers/gpu/drm/i915/gvt/mmio_context.c
> @@ -108,12 +108,12 @@ static struct engine_mmio gen9_engine_mmio_list[] __cacheline_aligned = {
> {RCS0, GEN9_HALF_SLICE_CHICKEN5, 0xffff, true}, /* 0xe188 */
> {RCS0, GEN9_HALF_SLICE_CHICKEN7, 0xffff, true}, /* 0xe194 */
> {RCS0, GEN8_ROW_CHICKEN, 0xffff, true}, /* 0xe4f0 */
> - {RCS0, TRVATTL3PTRDW(0), 0, false}, /* 0x4de0 */
> - {RCS0, TRVATTL3PTRDW(1), 0, false}, /* 0x4de4 */
> - {RCS0, TRNULLDETCT, 0, false}, /* 0x4de8 */
> - {RCS0, TRINVTILEDETCT, 0, false}, /* 0x4dec */
> - {RCS0, TRVADR, 0, false}, /* 0x4df0 */
> - {RCS0, TRTTE, 0, false}, /* 0x4df4 */
> + {RCS0, TRVATTL3PTRDW(0), 0, true}, /* 0x4de0 */
> + {RCS0, TRVATTL3PTRDW(1), 0, true}, /* 0x4de4 */
> + {RCS0, TRNULLDETCT, 0, true}, /* 0x4de8 */
> + {RCS0, TRINVTILEDETCT, 0, true}, /* 0x4dec */
> + {RCS0, TRVADR, 0, true}, /* 0x4df0 */
> + {RCS0, TRTTE, 0, true}, /* 0x4df4 */
>
> {BCS0, RING_GFX_MODE(BLT_RING_BASE), 0xffff, false}, /* 0x2229c */
> {BCS0, RING_MI_MODE(BLT_RING_BASE), 0xffff, false}, /* 0x2209c */
> --
> 2.17.1
>
> _______________________________________________
> intel-gvt-dev mailing list
> intel-gvt-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gvt-dev
--
Open Source Technology Center, Intel ltd.
$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gvt-dev/attachments/20190513/4f156c39/attachment.sig>
More information about the intel-gvt-dev
mailing list