From patchwork Thu Dec 12 12:53:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerd Hoffmann X-Patchwork-Id: 11288081 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B4F0B14B7 for ; Thu, 12 Dec 2019 12:54:03 +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 93A9C22527 for ; Thu, 12 Dec 2019 12:54:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="XKPEGIER" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 93A9C22527 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.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 141176ED42; Thu, 12 Dec 2019 12:53:58 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by gabe.freedesktop.org (Postfix) with ESMTPS id F19056ED42 for ; Thu, 12 Dec 2019 12:53:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1576155234; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mGdjz5FkP/lDxyk2Jr06tkf0Jnmx44WJfXjlJXz+pNQ=; b=XKPEGIERs8Yz3xzwKF7TZdNRvJTjXoEh2e1a9uwKw/xpJrNMdxRxrmIhwYyUSK47/yr8xh Ex+j5lU/mtPKqt5ZGlEQPcfWgtCbRIgXV4azOSm/I5vhc/MBMneuHccKFWJ3lJ5BJA6nLN MG6yXLzyaSdsjgb8FdSN2orVg49Ur9g= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-236-XmNmYYhCMBa-69n991La7Q-1; Thu, 12 Dec 2019 07:53:52 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 29D4F18B9FC1; Thu, 12 Dec 2019 12:53:51 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.36.118.26]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9FEE35DA70; Thu, 12 Dec 2019 12:53:47 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id D1A0E11AAA; Thu, 12 Dec 2019 13:53:46 +0100 (CET) From: Gerd Hoffmann To: dri-devel@lists.freedesktop.org Subject: [PATCH v2 0/3] drm/virtio: some optimitations. Date: Thu, 12 Dec 2019 13:53:43 +0100 Message-Id: <20191212125346.8334-1-kraxel@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-MC-Unique: XmNmYYhCMBa-69n991La7Q-1 X-Mimecast-Spam-Score: 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: Gerd Hoffmann , gurchetansingh@chromium.org MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" v2: fix src rect handling (Chia-I Wu). Gerd Hoffmann (3): drm/virtio: skip set_scanout if framebuffer didn't change virtio-gpu: batch display update commands. virtio-gpu: use damage info for display updates. drivers/gpu/drm/virtio/virtgpu_drv.h | 6 ++ drivers/gpu/drm/virtio/virtgpu_plane.c | 80 ++++++++++++++++---------- drivers/gpu/drm/virtio/virtgpu_vq.c | 23 +++++++- 3 files changed, 76 insertions(+), 33 deletions(-) Reviewed-by: Chia-I Wu