From patchwork Fri Sep 7 15:24:00 2018 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: 10592283 Return-Path: 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 5ECA814BD for ; Fri, 7 Sep 2018 15:24:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4E2512842B for ; Fri, 7 Sep 2018 15:24:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 427612856E; Fri, 7 Sep 2018 15:24:26 +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 03638284D4 for ; Fri, 7 Sep 2018 15:24:25 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 52BC26E95F; Fri, 7 Sep 2018 15:24:25 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTPS id B33856E974 for ; Fri, 7 Sep 2018 15:24:23 +0000 (UTC) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Sep 2018 08:24:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,342,1531810800"; d="scan'208";a="83951252" Received: from stinkbox.fi.intel.com (HELO stinkbox) ([10.237.72.174]) by fmsmga002.fm.intel.com with SMTP; 07 Sep 2018 08:24:14 -0700 Received: by stinkbox (sSMTP sendmail emulation); Fri, 07 Sep 2018 18:24:13 +0300 From: Ville Syrjala To: intel-gfx@lists.freedesktop.org Date: Fri, 7 Sep 2018 18:24:00 +0300 Message-Id: <20180907152413.15761-1-ville.syrjala@linux.intel.com> X-Mailer: git-send-email 2.16.4 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH 00/13] drm/i915: Display gtt remapping prep 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: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP From: Ville Syrjälä A reposting of all the reviewed prep stuff for the gtt remapping. Changes since the first posting: - fix the ilk+ x-tiled stride to be 32k - split out some unrelated changes (those were already pushed separately) - some typos etc. fixed Ville Syrjälä (13): drm/i915: s/tile_offset/aligned_offset/ etc. drm/i915: Add .max_stride() plane hook drm/i915: Use pipe A primary plane .max_stride() as the global stride limit drm/i915: Rename the plane_state->main/aux to plane_state->color_plane[] drm/i915: Store the final plane stride in plane_state drm/i915: Store ggtt_view in plane_state drm/i915: s/int plane/int color_plane/ drm/i915: Nuke plane->can_scale/min_downscale drm/i915: Extract per-platform plane->check() functions drm/i915: Move skl plane fb related checks into a better place drm/i915: Move display w/a #1175 drm/i915: Move chv rotation checks to plane->check() drm/i915: Extract intel_cursor_check_surface() drivers/gpu/drm/i915/intel_atomic_plane.c | 53 --- drivers/gpu/drm/i915/intel_display.c | 610 +++++++++++++++--------------- drivers/gpu/drm/i915/intel_drv.h | 45 ++- drivers/gpu/drm/i915/intel_fbc.c | 4 +- drivers/gpu/drm/i915/intel_fbdev.c | 6 +- drivers/gpu/drm/i915/intel_sprite.c | 495 +++++++++++++++++------- 6 files changed, 700 insertions(+), 513 deletions(-)