From patchwork Fri Jun 7 09:12:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas De Marchi X-Patchwork-Id: 10981117 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 90AA115E6 for ; Fri, 7 Jun 2019 09:12:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 80F2928B20 for ; Fri, 7 Jun 2019 09:12:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 755DD28B25; Fri, 7 Jun 2019 09:12:51 +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 332E928B22 for ; Fri, 7 Jun 2019 09:12:51 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D982289CE2; Fri, 7 Jun 2019 09:12:49 +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 6C5EE89CE2 for ; Fri, 7 Jun 2019 09:12:48 +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 Jun 2019 02:12:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,562,1557212400"; d="scan'208";a="182609334" Received: from kseeloff-mobl1.amr.corp.intel.com (HELO ldmartin-desk.fios-router.home) ([10.254.23.10]) by fmsmga002.fm.intel.com with ESMTP; 07 Jun 2019 02:12:47 -0700 From: Lucas De Marchi To: intel-gfx@lists.freedesktop.org Date: Fri, 7 Jun 2019 02:12:21 -0700 Message-Id: <20190607091230.1489-1-lucas.demarchi@intel.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH 0/9] Add support for new DMC headers 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: , Cc: Lucas De Marchi Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP This is v2 of https://patchwork.freedesktop.org/series/61016/ Last patch as moved as the first and sent separately so it can be backported. That one is already applied. Rodrigo and Anusha gave their r-b on all these, but given the rebase, the patches changed considerably (and the end result is not even the same). So I didn't add them here, except for the first that is a trivial one. Lucas De Marchi (9): drm/i915/dmc: use kernel types drm/i915/dmc: extract fw_info and table walk from intel_package_header drm/i915/dmc: add support for package_header with version 2 drm/i915/dmc: extract function to parse css header drm/i915/dmc: extract function to parse package_header drm/i915/dmc: extract function to parse dmc_header drm/i915/dmc: add support to load dmc_header version 3 drm/i915/dmc: remove redundant return in parse_csr_fw() drm/i915/dmc: protect against loading wrong firmware drivers/gpu/drm/i915/i915_drv.h | 4 +- drivers/gpu/drm/i915/intel_csr.c | 407 ++++++++++++++++++++++--------- 2 files changed, 290 insertions(+), 121 deletions(-)