From patchwork Wed Dec 5 10:35:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Hellstrom X-Patchwork-Id: 10713833 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5E58C109C for ; Wed, 5 Dec 2018 10:36:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4ED382C8E0 for ; Wed, 5 Dec 2018 10:36:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 427692C8E5; Wed, 5 Dec 2018 10:36:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D2C5F2C8E2 for ; Wed, 5 Dec 2018 10:36:39 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4BD996E3D3; Wed, 5 Dec 2018 10:36:38 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EX13-EDG-OU-001.vmware.com (ex13-edg-ou-001.vmware.com [208.91.0.189]) by gabe.freedesktop.org (Postfix) with ESMTPS id 921D36E3D3 for ; Wed, 5 Dec 2018 10:36:36 +0000 (UTC) Received: from sc9-mailhost3.vmware.com (10.113.161.73) by EX13-EDG-OU-001.vmware.com (10.113.208.155) with Microsoft SMTP Server id 15.0.1156.6; Wed, 5 Dec 2018 02:36:33 -0800 Received: from fedoratest.localdomain (unknown [10.129.223.124]) by sc9-mailhost3.vmware.com (Postfix) with ESMTP id D989840651; Wed, 5 Dec 2018 02:36:33 -0800 (PST) From: Thomas Hellstrom To: , Subject: [git pull] vmwgfx-next Date: Wed, 5 Dec 2018 11:35:54 +0100 Message-ID: <20181205103554.3675-1-thellstrom@vmware.com> X-Mailer: git-send-email 2.19.0.rc1 MIME-Version: 1.0 Received-SPF: None (EX13-EDG-OU-001.vmware.com: thellstrom@vmware.com does not designate permitted sender hosts) X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: pv-drivers@vmware.com, Thomas Hellstrom , linux-graphics-maintainer@vmware.com, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Hi Dave, The vmwgfx -next changes for 4.21: Page flip with damage by Deepak and others, Various vmwgfx minor fixes anc cleanups. The following changes since commit 818182dd1097fdc492aaef9b08755ea13274352d: Merge tag 'imx-drm-next-2018-12-03' of git://git.pengutronix.de/git/pza/linux into drm-next (2018-12-05 15:00:14 +1000) are available in the Git repository at: git://people.freedesktop.org/~thomash/linux tags/vmwgfx-next-2018-12-05 for you to fetch changes up to 9a01135b98b9d5a7033c544245da7aad0d886758: drm/vmwgfx: Use the standard atomic helpers for page-flip (2018-12-05 10:09:55 +0100) ---------------------------------------------------------------- Pull request of 2018-12-05 ---------------------------------------------------------------- Colin Ian King (1): drm/vmwgfx: remove redundant return ret statement Deepak Rawat (16): drm: Add a new helper to validate damage during atomic_check drm: Add helper iterator functions for plane fb_damage_clips blob drm/selftest: Add drm damage helper selftest drm/vmwgfx: Add a new interface for plane update on a display unit drm/vmwgfx: Implement STDU plane update for surface backed fb drm/vmwgfx: Implement STDU plane update for BO backed fb drm/vmwgfx: Use the new interface for STDU plane update drm/vmwgfx: Update comments for stdu plane update drm/vmwgfx: Enable FB_DAMAGE_CLIPS property for STDU primary plane drm/vmwgfx: Implement SOU plane update for surface backed fb drm/vmwgfx: Implement SOU plane update for BO backed fb drm/vmwgfx: Use the new interface for SOU plane update drm/vmwgfx: Update comments for sou plane update function drm/vmwgfx: Enable FB_DAMAGE_CLIPS property for SOU primary plane drm/vmwgfx: Use atomic helper function for dirty fb IOCTL drm/vmwgfx: Don't clear mode::type anymore Lukasz Spintzyk (1): drm: Add a new plane property to send damage during plane update Rob Clark (1): drm: Add helper to implement legacy dirtyfb Sinclair Yeh (1): MAINTAINERS: Update vmwgfx maintainers Thomas Hellstrom (3): drm/vmwgfx: Fix up the implicit display unit handling drm/vmwgfx: Fix a layout race condition drm/vmwgfx: Use the standard atomic helpers for page-flip YueHaibing (1): drm/vmwgfx: Remove set but not used variable 'file_priv' Documentation/gpu/drm-kms.rst | 12 + MAINTAINERS | 2 - drivers/gpu/drm/Makefile | 2 +- drivers/gpu/drm/drm_atomic.c | 22 + drivers/gpu/drm/drm_atomic_helper.c | 3 + drivers/gpu/drm/drm_atomic_uapi.c | 13 + drivers/gpu/drm/drm_damage_helper.c | 334 +++++++++ drivers/gpu/drm/drm_mode_config.c | 6 + drivers/gpu/drm/selftests/Makefile | 3 +- drivers/gpu/drm/selftests/drm_modeset_selftests.h | 21 + drivers/gpu/drm/selftests/test-drm_damage_helper.c | 811 +++++++++++++++++++++ .../gpu/drm/selftests/test-drm_modeset_common.h | 21 + drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 1 - drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 11 - drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 2 - drivers/gpu/drm/vmwgfx/vmwgfx_fence.c | 3 - drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 569 +++++++-------- drivers/gpu/drm/vmwgfx/vmwgfx_kms.h | 150 +++- drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c | 11 +- drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c | 359 +++++++-- drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c | 561 ++++++++++---- include/drm/drm_damage_helper.h | 99 +++ include/drm/drm_mode_config.h | 9 + include/drm/drm_plane.h | 42 ++ include/uapi/drm/drm_mode.h | 19 + 25 files changed, 2521 insertions(+), 565 deletions(-) create mode 100644 drivers/gpu/drm/drm_damage_helper.c create mode 100644 drivers/gpu/drm/selftests/test-drm_damage_helper.c create mode 100644 include/drm/drm_damage_helper.h