From patchwork Thu Jul 30 18:49:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Modem, Bhanuprakash" X-Patchwork-Id: 11692787 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 06CD714B7 for ; Thu, 30 Jul 2020 10:54:30 +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 E1FA9207F5 for ; Thu, 30 Jul 2020 10:54:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E1FA9207F5 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=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 567206E8CF; Thu, 30 Jul 2020 10:54:29 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by gabe.freedesktop.org (Postfix) with ESMTPS id 39C3D6E8CF for ; Thu, 30 Jul 2020 10:54:28 +0000 (UTC) IronPort-SDR: EklnA2Li92Va3fTqFlsfZEV90LEMQ9HRFccGmjvtlLza44ReYwRBY9rkmJvfZWOmG01nTQ+Y4P 96oOFJyC6Ptg== X-IronPort-AV: E=McAfee;i="6000,8403,9697"; a="151551466" X-IronPort-AV: E=Sophos;i="5.75,414,1589266800"; d="scan'208";a="151551466" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jul 2020 03:54:27 -0700 IronPort-SDR: A+7Q64FvRrygbP9RM4QE8zC5W3fF+KKkUNlCofLpFmDh7N3S6mLmrbfCEJJZAU+TEfVg4gPbKU 1iF1lkt2Jy9A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,414,1589266800"; d="scan'208";a="435003204" Received: from bhanu-nuc8i7beh.iind.intel.com ([10.145.162.210]) by orsmga004.jf.intel.com with ESMTP; 30 Jul 2020 03:54:26 -0700 From: Bhanuprakash Modem To: bhanuprakash.modem@intel.com, intel-gfx@lists.freedesktop.org Date: Fri, 31 Jul 2020 00:19:29 +0530 Message-Id: <20200730184931.14049-1-bhanuprakash.modem@intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH 0/2] Expose crtc dither state and connector max bpc via debugfs X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 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" [why] It's useful to know the max supported panel BPC and PIPE dither state for IGT testing. [how] * Expose the connector max supported BPC for the panel via a debugfs file on the connector, "output_bpc". Example: cat /sys/kernel/debug/dri/0/DP-1/output_bpc * Expose the dithering state for the crtc via a debugfs file "dither". Example: cat /sys/kernel/debug/dri/0/crtc-0/dither Test-with: 20200729184152.9236-1-bhanuprakash.modem@intel.com Bhanuprakash Modem (2): i915/debug: Expose crtc dither state via debugfs i915/debug: Expose Max BPC info via debugfs .../drm/i915/display/intel_display_debugfs.c | 17 +++++++++++++++++ drivers/gpu/drm/i915/i915_debugfs.c | 17 +++++++++++++++++ 2 files changed, 34 insertions(+)