Message ID | 20210917010842.503-7-gurchetansingh@chromium.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=1DO0=OH=lists.freedesktop.org=dri-devel-bounces@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 694FEC433F5 for <dri-devel@archiver.kernel.org>; Fri, 17 Sep 2021 01:09:07 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 30B0B61209 for <dri-devel@archiver.kernel.org>; Fri, 17 Sep 2021 01:09:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 30B0B61209 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3EEA96EA99; Fri, 17 Sep 2021 01:08:57 +0000 (UTC) Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) by gabe.freedesktop.org (Postfix) with ESMTPS id CA8E96EA99 for <dri-devel@lists.freedesktop.org>; Fri, 17 Sep 2021 01:08:51 +0000 (UTC) Received: by mail-pg1-x532.google.com with SMTP id f129so8005396pgc.1 for <dri-devel@lists.freedesktop.org>; Thu, 16 Sep 2021 18:08:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=F6536BzXgr3md2XEBD1rshEt0Z3opmm8yH9szMh9vwU=; b=lqOy2lifHrcAx90KKEOIet8ERLj3UYIsxz1R6VTGv1PL/RVVCanO8pGJCAChDvOzY1 LLLBDLvm52OuA2ub4WdEpM6wkJkJykMy1ip6w77ob/ipnclveFr0RfoTX9YVyEH1xNKR E6IJZY7xRub5yuW+aUj4M+pnmT94gLRGDSmfc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=F6536BzXgr3md2XEBD1rshEt0Z3opmm8yH9szMh9vwU=; b=abrV0mqCQL0s1E6DJ33pq826p99Om5GBglilF3K1Qb2MwKZ6JGq8SINqPjt7QW3MGb g7494IK8q7h+/5pR65rCxzDZM1TG4V5hMngyPKh4SmMN34d6R4wkBA1ShQj9ZnivlFEc qIRzKMjSSNmJvJoqF/eibkBl93Mkvozmd7/zXcCTxEOnfMwVridnJJlkqum8BfEBuXtU QrLJngc/vdVkEmEEJPh07YGG+LxbG3k7GiVu9JI2RFygHnFgtZw3Qx/3r34bH/5gIGyA o03LsrPQaCHDTLGZNkNneQcreo/CEX4Swl1zxkaMCOh532JjOrIFh7sDHj77UZY4AEeu t9Jg== X-Gm-Message-State: AOAM530BFG18kbK5QtROypdPQT6MscrbBp8wjVBi4BwoBxV4QwWUJBQ/ dweOJHlIOERT9HURer+l7BmL3i9cYrqftk+c X-Google-Smtp-Source: ABdhPJzZ9EfB4X4UmBni/jw//EG45Bl04gvIt7Qxa/28OHFM6Vyir/imF/QkySDFVvEOrp5X8koGhw== X-Received: by 2002:a63:4b24:: with SMTP id y36mr7617820pga.230.1631840931037; Thu, 16 Sep 2021 18:08:51 -0700 (PDT) Received: from gurchetansingh0.mtv.corp.google.com ([2620:15c:202:201:dc20:9a88:c41:f0dd]) by smtp.gmail.com with ESMTPSA id v4sm4215812pff.11.2021.09.16.18.08.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Sep 2021 18:08:50 -0700 (PDT) From: Gurchetan Singh <gurchetansingh@chromium.org> To: dri-devel@lists.freedesktop.org, virtio-dev@lists.oasis-open.org Cc: kraxel@redhat.com Subject: [PATCH v2 06/12] drm/virtio: implement context init: track {ring_idx, emit_fence_info} in virtio_gpu_fence Date: Thu, 16 Sep 2021 18:08:36 -0700 Message-Id: <20210917010842.503-7-gurchetansingh@chromium.org> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210917010842.503-1-gurchetansingh@chromium.org> References: <20210917010842.503-1-gurchetansingh@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> |
Series |
Context types
|
expand
|
diff --git a/drivers/gpu/drm/virtio/virtgpu_drv.h b/drivers/gpu/drm/virtio/virtgpu_drv.h index 9996abf60e3a..401aec1a5efb 100644 --- a/drivers/gpu/drm/virtio/virtgpu_drv.h +++ b/drivers/gpu/drm/virtio/virtgpu_drv.h @@ -139,7 +139,9 @@ struct virtio_gpu_fence_driver { struct virtio_gpu_fence { struct dma_fence f; + uint32_t ring_idx; uint64_t fence_id; + bool emit_fence_info; struct virtio_gpu_fence_driver *drv; struct list_head node; };