Message ID | 20200717211345.26851-1-ville.syrjala@linux.intel.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <SRS0=O1q6=A4=lists.freedesktop.org=intel-gfx-bounces@kernel.org> 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 BE9CD13B1 for <patchwork-intel-gfx@patchwork.kernel.org>; Fri, 17 Jul 2020 21:13:51 +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 A01D320775 for <patchwork-intel-gfx@patchwork.kernel.org>; Fri, 17 Jul 2020 21:13:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A01D320775 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 D2D6B6E09F; Fri, 17 Jul 2020 21:13:50 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9FC936E09F for <intel-gfx@lists.freedesktop.org>; Fri, 17 Jul 2020 21:13:49 +0000 (UTC) IronPort-SDR: 4se4tzEPD5IF0ni/3HlfZwimfZ0SCENh3WoLcRwti2RNEDHQ9U+Dg4IybvFgqSAFkDGJf/AiVh ATLI/tGGVE7w== X-IronPort-AV: E=McAfee;i="6000,8403,9685"; a="211225290" X-IronPort-AV: E=Sophos;i="5.75,364,1589266800"; d="scan'208";a="211225290" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jul 2020 14:13:48 -0700 IronPort-SDR: tDQVzpCcggPeVXW50DuuIqS35MSlkwPBgGEUmZhab+E2CSY05/JZVfiPipiFQgggz19vEOpeha l6qFNrYJOiFg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,364,1589266800"; d="scan'208";a="325532370" Received: from stinkbox.fi.intel.com (HELO stinkbox) ([10.237.72.174]) by FMSMGA003.fm.intel.com with SMTP; 17 Jul 2020 14:13:46 -0700 Received: by stinkbox (sSMTP sendmail emulation); Sat, 18 Jul 2020 00:13:45 +0300 From: Ville Syrjala <ville.syrjala@linux.intel.com> To: intel-gfx@lists.freedesktop.org Date: Sat, 18 Jul 2020 00:13:25 +0300 Message-Id: <20200717211345.26851-1-ville.syrjala@linux.intel.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH 00/20] drm/i915: Finish (de)gamma readout X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development <intel-gfx.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/intel-gfx>, <mailto:intel-gfx-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/intel-gfx> List-Post: <mailto:intel-gfx@lists.freedesktop.org> List-Help: <mailto:intel-gfx-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/intel-gfx>, <mailto:intel-gfx-request@lists.freedesktop.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" <intel-gfx-bounces@lists.freedesktop.org> |
Series |
drm/i915: Finish (de)gamma readout
|
expand
|
From: Ville Syrjälä <ville.syrjala@linux.intel.com> The gamma readout stuff was left half finished. No degamma readout, and no readout whatsoever on ivb/bdw/skl/bxt. Let's finish it. A bit more involved/ugly than I'd prefer but there are certainly some complications with the way some of the hw works. There are a few fixes/cleanups at the start, and while we're in there let's also throw in the 10bit gamma mode for gen2/3. Ville Syrjälä (20): drm/i915: Fix state checker hw.active/hw.enable readout drm/i915: Move MST master transcoder dump earlier drm/i915: Include the LUT sizes in the state dump drm/i915: s/glk_read_lut_10/bdw_read_lut_10/ drm/i915: Reset glk degamma index after programming/readout drm/i915: Shuffle chv_cgm_gamma_pack() around a bit drm/i915: Relocate CHV CGM gamma masks drm/i915: Add glk+ degamma readout drm/i915: Read out CHV CGM degamma drm/i915: Add gamma/degamma readout for bdw+ drm/i915: Do degamma+gamma readout in bdw+ split gamma mode drm/i915: Polish bdw_read_lut_10() a bit drm/i915: Add gamma/degamm readout for ivb/hsw drm/i915: Replace some gamma_mode ifs with switches drm/i915: Make ilk_load_luts() deal with degamma drm/i915: Make ilk_read_luts() capable of degamma readout drm/i915: Make .read_luts() mandatory drm/i915: Extract ilk_crtc_has_gamma() & co. drm/i915: Complete the gamma/degamma state checking drm/i915: Add 10bit gamma mode for gen2/3 drivers/gpu/drm/i915/display/intel_color.c | 1015 +++++++++++++++--- drivers/gpu/drm/i915/display/intel_color.h | 10 +- drivers/gpu/drm/i915/display/intel_display.c | 50 +- drivers/gpu/drm/i915/i915_drv.h | 7 + drivers/gpu/drm/i915/i915_pci.c | 10 +- drivers/gpu/drm/i915/i915_reg.h | 47 +- 6 files changed, 975 insertions(+), 164 deletions(-)