Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 20516C77B78 for ; Fri, 21 Apr 2023 22:33:33 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E8EA710E118; Fri, 21 Apr 2023 22:33:32 +0000 (UTC) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by gabe.freedesktop.org (Postfix) with ESMTPS id C995310E903 for ; Fri, 21 Apr 2023 22:33:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1682116394; x=1713652394; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=wwe/588jgwTn2VzQ8qnfgkqV8SbN9vBpA9h0cs64nbM=; b=T5/CBhNYnvgwTIO3+2KAjzNyHBvjLOA9OcypSKIECis6S/udd38UXHzB FpUOBpz8AAkqySE4sozIKWSGcBzRpNto/jGhIQ2ZqupVjLCxJ2s9dZ3z7 kbvVEsTPxCj8tsG/GNKzZSc5t8N1847v8INO23ZRtvdfvui2X8I6j46Lp yld4T1T5dHdvL1NHrU33+aOzJfyj7FmTrqPsfVk5SOUpOvM2UHOty8oKQ Jl1yU4b0eOk3Y1vWrk79wUYL0hAANkibMZC3GFWwaLiNOZJ4E2JkguAWk YP2NnrzQBWbnFvSPnUT5Y5et4szEeK7T5L/R3P0CeiI4COyzM0HgFl1W5 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10687"; a="325693746" X-IronPort-AV: E=Sophos;i="5.99,216,1677571200"; d="scan'208";a="325693746" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2023 15:33:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10687"; a="722913746" X-IronPort-AV: E=Sophos;i="5.99,216,1677571200"; d="scan'208";a="722913746" Received: from lucas-s2600cw.jf.intel.com ([10.165.21.196]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2023 15:33:12 -0700 From: Lucas De Marchi To: intel-xe@lists.freedesktop.org Date: Fri, 21 Apr 2023 15:32:48 -0700 Message-Id: <20230421223258.128781-8-lucas.demarchi@intel.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230421223258.128781-1-lucas.demarchi@intel.com> References: <20230421223258.128781-1-lucas.demarchi@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Intel-xe] [PATCH v2 07/17] drm/xe/guc: Move GuC registers to regs/ X-BeenThere: intel-xe@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Xe graphics driver List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lucas De Marchi , Matt Roper , Rodrigo Vivi Errors-To: intel-xe-bounces@lists.freedesktop.org Sender: "Intel-xe" There's no good reason to keep the GuC registers outside the regs/ directory: move the header with GuC registers under that. Signed-off-by: Lucas De Marchi --- drivers/gpu/drm/xe/{xe_guc_reg.h => regs/xe_guc_regs.h} | 4 ++-- drivers/gpu/drm/xe/xe_guc.c | 2 +- drivers/gpu/drm/xe/xe_guc_ads.c | 2 +- drivers/gpu/drm/xe/xe_huc.c | 2 +- drivers/gpu/drm/xe/xe_uc_fw.c | 2 +- drivers/gpu/drm/xe/xe_wopcm.c | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) rename drivers/gpu/drm/xe/{xe_guc_reg.h => regs/xe_guc_regs.h} (99%) diff --git a/drivers/gpu/drm/xe/xe_guc_reg.h b/drivers/gpu/drm/xe/regs/xe_guc_regs.h similarity index 99% rename from drivers/gpu/drm/xe/xe_guc_reg.h rename to drivers/gpu/drm/xe/regs/xe_guc_regs.h index 0cd38d51cc60..011868ff38aa 100644 --- a/drivers/gpu/drm/xe/xe_guc_reg.h +++ b/drivers/gpu/drm/xe/regs/xe_guc_regs.h @@ -3,8 +3,8 @@ * Copyright © 2022 Intel Corporation */ -#ifndef _XE_GUC_REG_H_ -#define _XE_GUC_REG_H_ +#ifndef _XE_GUC_REGS_H_ +#define _XE_GUC_REGS_H_ #include #include diff --git a/drivers/gpu/drm/xe/xe_guc.c b/drivers/gpu/drm/xe/xe_guc.c index ff2df4f30e97..e00177f4d294 100644 --- a/drivers/gpu/drm/xe/xe_guc.c +++ b/drivers/gpu/drm/xe/xe_guc.c @@ -6,6 +6,7 @@ #include "xe_guc.h" #include "regs/xe_gt_regs.h" +#include "regs/xe_guc_regs.h" #include "xe_bo.h" #include "xe_device.h" #include "xe_force_wake.h" @@ -15,7 +16,6 @@ #include "xe_guc_hwconfig.h" #include "xe_guc_log.h" #include "xe_guc_pc.h" -#include "xe_guc_reg.h" #include "xe_guc_submit.h" #include "xe_mmio.h" #include "xe_platform_types.h" diff --git a/drivers/gpu/drm/xe/xe_guc_ads.c b/drivers/gpu/drm/xe/xe_guc_ads.c index fd9911ffeae4..fe1d5be1241e 100644 --- a/drivers/gpu/drm/xe/xe_guc_ads.c +++ b/drivers/gpu/drm/xe/xe_guc_ads.c @@ -9,10 +9,10 @@ #include "regs/xe_engine_regs.h" #include "regs/xe_gt_regs.h" +#include "regs/xe_guc_regs.h" #include "xe_bo.h" #include "xe_gt.h" #include "xe_guc.h" -#include "xe_guc_reg.h" #include "xe_hw_engine.h" #include "xe_lrc.h" #include "xe_map.h" diff --git a/drivers/gpu/drm/xe/xe_huc.c b/drivers/gpu/drm/xe/xe_huc.c index a9448c6f6418..a1c3e54faa6e 100644 --- a/drivers/gpu/drm/xe/xe_huc.c +++ b/drivers/gpu/drm/xe/xe_huc.c @@ -5,12 +5,12 @@ #include "xe_huc.h" +#include "regs/xe_guc_regs.h" #include "xe_bo.h" #include "xe_device.h" #include "xe_force_wake.h" #include "xe_gt.h" #include "xe_guc.h" -#include "xe_guc_reg.h" #include "xe_mmio.h" #include "xe_uc_fw.h" diff --git a/drivers/gpu/drm/xe/xe_uc_fw.c b/drivers/gpu/drm/xe/xe_uc_fw.c index 97328e441f0f..cd5433b5c970 100644 --- a/drivers/gpu/drm/xe/xe_uc_fw.c +++ b/drivers/gpu/drm/xe/xe_uc_fw.c @@ -8,11 +8,11 @@ #include +#include "regs/xe_guc_regs.h" #include "xe_bo.h" #include "xe_device_types.h" #include "xe_force_wake.h" #include "xe_gt.h" -#include "xe_guc_reg.h" #include "xe_map.h" #include "xe_mmio.h" #include "xe_uc_fw.h" diff --git a/drivers/gpu/drm/xe/xe_wopcm.c b/drivers/gpu/drm/xe/xe_wopcm.c index c8cc3f5e6154..7b5014aea9c8 100644 --- a/drivers/gpu/drm/xe/xe_wopcm.c +++ b/drivers/gpu/drm/xe/xe_wopcm.c @@ -5,10 +5,10 @@ #include "xe_wopcm.h" +#include "regs/xe_guc_regs.h" #include "xe_device.h" #include "xe_force_wake.h" #include "xe_gt.h" -#include "xe_guc_reg.h" #include "xe_mmio.h" #include "xe_uc_fw.h" -- 2.39.0