Message ID | 20181010130454.28557-1-ville.syrjala@linux.intel.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <intel-gfx-bounces@lists.freedesktop.org> 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 2478D17E1 for <patchwork-intel-gfx@patchwork.kernel.org>; Wed, 10 Oct 2018 13:09:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8D5B329F48 for <patchwork-intel-gfx@patchwork.kernel.org>; Wed, 10 Oct 2018 13:09:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 816E929F52; Wed, 10 Oct 2018 13:09:22 +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 4324D29F48 for <patchwork-intel-gfx@patchwork.kernel.org>; Wed, 10 Oct 2018 13:09:22 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A794A89E3B; Wed, 10 Oct 2018 13:09:21 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by gabe.freedesktop.org (Postfix) with ESMTPS id 54F8889E3B for <intel-gfx@lists.freedesktop.org>; Wed, 10 Oct 2018 13:09:20 +0000 (UTC) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Oct 2018 06:09:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,364,1534834800"; d="scan'208";a="81448263" Received: from stinkbox.fi.intel.com (HELO stinkbox) ([10.237.72.174]) by orsmga006.jf.intel.com with SMTP; 10 Oct 2018 06:04:55 -0700 Received: by stinkbox (sSMTP sendmail emulation); Wed, 10 Oct 2018 16:04:54 +0300 From: Ville Syrjala <ville.syrjala@linux.intel.com> To: intel-gfx@lists.freedesktop.org Date: Wed, 10 Oct 2018 16:04:42 +0300 Message-Id: <20181010130454.28557-1-ville.syrjala@linux.intel.com> X-Mailer: git-send-email 2.18.1 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH 00/12] drm/i915: Clean up the wm mem latency stuff X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 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> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
drm/i915: Clean up the wm mem latency stuff
|
expand
|
From: Ville Syrjälä <ville.syrjala@linux.intel.com> Currently we store the watermark memory latency values in three different units (.1 usec, .5 usec, and 1 usec). Let's make things less confusing by picking .1 usec as the one true unit and unify all platforms around that. And I've included some other cleanups related to this latency stuff. Ville Syrjälä (12): drm/i915: Store all wm memory latency values in .1 usec units drm/i915: Use the spr/cur latencies on vlv/chv/g4x drm/i915: Eliminate skl_latency[] drm/i915: Add dev_priv->wm.num_levels and use it everywhere drm/i915: Add DEFINE_SNPRINTF_ARRAY() drm/i915: Make the WM memory latency print more compact drm/i915: Eliminate redundant ilk sprite/cursor wm fixup code drm/i915: Split skl+ and ilk+ read_wm_latency() drm/i915: Sanitize wm latency values for ilk+ drm/i915: Drop the funky ilk wm setup drm/i915: Allow LP3 watermarks on ILK drm/i915: Remove the remnants of the ilk+ LP0 wm hack drivers/gpu/drm/i915/i915_debugfs.c | 82 +--- drivers/gpu/drm/i915/i915_drv.h | 26 +- drivers/gpu/drm/i915/i915_utils.h | 16 + drivers/gpu/drm/i915/intel_display.c | 12 +- drivers/gpu/drm/i915/intel_dp.c | 17 +- drivers/gpu/drm/i915/intel_pm.c | 587 ++++++++++++++------------- 6 files changed, 349 insertions(+), 391 deletions(-)