From patchwork Fri Nov 29 18:54:25 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: 11267503 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 71A3315AB for ; Fri, 29 Nov 2019 18:54:40 +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 5050921721 for ; Fri, 29 Nov 2019 18:54:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5050921721 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 AFBA86E9E7; Fri, 29 Nov 2019 18:54:38 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by gabe.freedesktop.org (Postfix) with ESMTPS id CB7456E9E7 for ; Fri, 29 Nov 2019 18:54:37 +0000 (UTC) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Nov 2019 10:54:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,258,1571727600"; d="scan'208";a="261589874" Received: from stinkbox.fi.intel.com (HELO stinkbox) ([10.237.72.174]) by FMSMGA003.fm.intel.com with SMTP; 29 Nov 2019 10:54:35 -0800 Received: by stinkbox (sSMTP sendmail emulation); Fri, 29 Nov 2019 20:54:34 +0200 From: Ville Syrjala To: intel-gfx@lists.freedesktop.org Date: Fri, 29 Nov 2019 20:54:25 +0200 Message-Id: <20191129185434.25549-1-ville.syrjala@linux.intel.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH v2 0/9] drm/i915: i915_display_info cleanup 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: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" From: Ville Syrjälä Now that igt no longer parses the display_info from debugfs we can actually make it a bit more sane. I already posted the first five patches once, but I added a bit more on top for the hw vs. uapi split (now we try to dump both). And I also took the opportunity to start wearing down the legacy encoder->crtc and connector->encoder pointers. Ville Syrjälä (9): drm/i915: Use drm_rect to simplify plane {crtc,src}_{x,y,w,h} printing drm/i915: Switch to intel_ types in debugfs display_info drm/i915: Reorganize plane/fb dump in debugfs drm/i915: Refactor debugfs display info code drm/i915: Dump the mode for the crtc just the once drm/i915: Use drm_modeset_lock_all() in debugfs display info drm/i915: Use the canonical [CRTC:%d:%s]/etc. format in i915_display_info drm/i915: Dump both the uapi and hw states for crtcs and planes drm/i915: Stop using connector->encoder and encoder->crtc links in i915_display_info drivers/gpu/drm/i915/display/intel_display.h | 7 + drivers/gpu/drm/i915/i915_debugfs.c | 282 ++++++++++--------- 2 files changed, 150 insertions(+), 139 deletions(-)