From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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=-0.8 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no 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 6E541C433E0 for ; Thu, 25 Jun 2020 00:47:28 +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 3F69A20781 for ; Thu, 25 Jun 2020 00:47:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="FVOb9GIf" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3F69A20781 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A07BC6E88B; Thu, 25 Jun 2020 00:47:27 +0000 (UTC) Received: from mail-pj1-x1042.google.com (mail-pj1-x1042.google.com [IPv6:2607:f8b0:4864:20::1042]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9DC186E8AB for ; Thu, 25 Jun 2020 00:47:26 +0000 (UTC) Received: by mail-pj1-x1042.google.com with SMTP id ft14so1078059pjb.1 for ; Wed, 24 Jun 2020 17:47:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=05voGHapV3v2tFXJ01TbMw21PCVprhpQaXbrlBrqygY=; b=FVOb9GIfBGZ922ZCKREGsKrLGYAuqMPyiKgSLOBvk9Zo4hrf2pVzCVps/xq6fAtGjo nvdV/tBax4EN45Mge61+BA1qJsG0KI09cVvmIft03LU5Mke/DZNk/zVq2gsqktAD9w5V Ia8OUwtNHXXBbJUGuBTHjdUNZJKkYiMx7porkR90WbxjAWWkFQPm5lUwymAwjGho9ANr jKaAwktoh0Pru3tVJlxwARxJ6Iruu1/38rk5xY6C6/vTxiDmAn3XUDOxpIYRW+Btea30 qJ6N9jSM534sia6UxDV6033vAsF6pNYVSl3e6/BPL71m/lKk1p9Mgj2yTtOTF/qt9o2b COlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=05voGHapV3v2tFXJ01TbMw21PCVprhpQaXbrlBrqygY=; b=YRLzb5ODHUPu8WKSNIQRgtjmSedm5QUjJXBfJ1jrTncw5E3h56h4lnwR8hbrctBJF1 apG1+cOnkJpzf7lkw0+o+r5n3anRoWpH0x7VigJPLUJ6ZjmxtpW6p8Pd9Lxhrmz4ZJTh FmyFFnWjQHtthBa7DbZvbu1x2OdQg7Jsu0f3WEx3kLnJsLt0FeQLb1NFEx1jrRby29ax L8x5WympADSS3h5Uv9nCR5zbsvYNGvZdhf2doACzUJcUYfgW+d7Lwp/uRYpegE9WU888 9CY6sqWOv3Rzso5o+5iWUw0Ip0nifj7ZkiAQcaGvvpd465ehgY//272EofttGi++pzFP vV+Q== X-Gm-Message-State: AOAM531EQ4ha2AWy8P9JXQYUejWr/nLWMn5aezu5YmovJSqYwZSTPERq BsyrMYu5u+E5fqmgZst3s64= X-Google-Smtp-Source: ABdhPJx2JugfcpQsNsP+qu0DqzyhWFIb/RDnlrCiM12R4lWEaL504i0IX2I61z5IXtK8bgEKpBE1NQ== X-Received: by 2002:a17:90a:7401:: with SMTP id a1mr453250pjg.218.1593046046228; Wed, 24 Jun 2020 17:47:26 -0700 (PDT) Received: from arch ([2601:600:9500:4390::aa23]) by smtp.gmail.com with ESMTPSA id s36sm17901897pgl.35.2020.06.24.17.47.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jun 2020 17:47:25 -0700 (PDT) Message-ID: <94e6d4d0e047d306d96717b5cdd2442b21ea9932.camel@gmail.com> Subject: Re: [RFC PATCH 1/2] drm/hyperv: Add DRM driver for hyperv synthetic video device From: Deepak Rawat To: Gerd Hoffmann , Daniel Vetter Date: Wed, 24 Jun 2020 17:47:23 -0700 In-Reply-To: <20200623161742.u6hnb7iodptv4s6t@sirius.home.kraxel.org> References: <20200622110623.113546-1-drawat.floss@gmail.com> <20200622110623.113546-2-drawat.floss@gmail.com> <20200622124622.yioa53bvipvd4c42@sirius.home.kraxel.org> <20200623094225.GJ20149@phenom.ffwll.local> <20200623161742.u6hnb7iodptv4s6t@sirius.home.kraxel.org> User-Agent: Evolution 3.36.3 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-hyperv@vger.kernel.org, Stephen Hemminger , David Airlie , Haiyang Zhang , Wei Liu , dri-devel@lists.freedesktop.org, Michael Kelley , Jork Loeser , Wei Hu , K Y Srinivasan Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" > > > Thanks for the review. Unfortunately only the first vmbus message > > > take > > > effect and subsequent calls are ignored. I originally implemented > > > using > > > vram helpers but I figured out calling this vmbus message again > > > won't > > > change the vram location. > > /me notices there also is user_ctx. What is this? Not sure, I will try to get in touch with hyper-v folks internally to see if page-flip can be used. > > > I think that needs a very big comment. Maybe even enforce that with > > a > > "vram_gpa_set" boolean in the device structure, and complain if we > > try to > > do that twice. > > > > Also I guess congrats to microsoft for defining things like that :- > > / > > I would be kind of surprised if the virtual device doesn't support > pageflips. Maybe setting vram_gpa just isn't the correct way to do > it. Is there a specification available? > > There are a number of microsoft folks in Cc: Anyone willing to > comment? > > thanks, > Gerd > > PS: And, yes, in case pageflips really don't work going with shmem > helpers + blits is reasonable. > _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel