From patchwork Fri Nov 15 19:41:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?VmlsbGUgU3lyasOkbMOk?= X-Patchwork-Id: 11246983 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 7EC4D6C1 for ; Fri, 15 Nov 2019 19:42:10 +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 66E3F2073B for ; Fri, 15 Nov 2019 19:42:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 66E3F2073B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2B4EB6E51A; Fri, 15 Nov 2019 19:42:09 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTPS id 80E2D6E51A; Fri, 15 Nov 2019 19:42:08 +0000 (UTC) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Nov 2019 11:42:07 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,309,1569308400"; d="scan'208";a="288645060" Received: from stinkbox.fi.intel.com (HELO stinkbox) ([10.237.72.174]) by orsmga001.jf.intel.com with SMTP; 15 Nov 2019 11:42:05 -0800 Received: by stinkbox (sSMTP sendmail emulation); Fri, 15 Nov 2019 21:42:04 +0200 From: Ville Syrjala To: dri-devel@lists.freedesktop.org Date: Fri, 15 Nov 2019 21:41:57 +0200 Message-Id: <20191115194204.22244-1-ville.syrjala@linux.intel.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH 0/7] drm: Random pile of core stuff X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: intel-gfx@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" From: Ville Syrjälä I found this random pile of stuff lying around. Dusted it off and tossed in the new selftests. Ville Syrjälä (7): drm: Move page_flip fb lookup earlier drm: Allocate the page flip event earlier drm: Extract page_flip_{internal,atomic}() drm: Simplify the setplane old_fb handling further drm/selftests: Add some selftests for drm_atomic_set_mode_for_crtc() drm/atomic: Fix the early return in drm_atomic_set_mode_for_crtc() drm/atomic: Reduce setplane locking drivers/gpu/drm/drm_atomic_uapi.c | 9 +- drivers/gpu/drm/drm_plane.c | 285 +++++++++++------- drivers/gpu/drm/selftests/Makefile | 3 +- .../gpu/drm/selftests/drm_modeset_selftests.h | 2 + .../gpu/drm/selftests/test-drm_atomic_uapi.c | 110 +++++++ .../drm/selftests/test-drm_modeset_common.h | 2 + 6 files changed, 291 insertions(+), 120 deletions(-) create mode 100644 drivers/gpu/drm/selftests/test-drm_atomic_uapi.c