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 7063DC6FD18 for ; Wed, 19 Apr 2023 07:45:03 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4F33F10E7CE; Wed, 19 Apr 2023 07:45:03 +0000 (UTC) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2A50510E050 for ; Wed, 19 Apr 2023 07:44:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1681890298; x=1713426298; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=wwe/588jgwTn2VzQ8qnfgkqV8SbN9vBpA9h0cs64nbM=; b=S/lEK3w9ANNbCEX2IT2hYxB4xxHXdIvfaqnFbglv9BozAvwVzlAXnrIh uRzIAVydeCwM/kqmxEDpZGw+Nd/fHjTQwW4m5/iJrQhwCHIBFAIPOR12L 7mI6i4TZetdy88m2rsY7UBEWU9rjgmCmONrCxFwwwUZOx8uXw/iCd8ttz GekfjhLQ2Jh+GbSysF+gBOu4O9OHqgMDq5mqs6iLH3iL0hqJRPQkhOVTD 8ZAMVOnU6MPAyBwG2nLolBHxyRgYXQhULnpmf2/8UHa5FU4gxPQ4bLt3N 62/fNWXatxzfrgQruAkM5LvK2aP2ogpEVA9BCUfRygbrUBBfeHPC9jGyG w==; X-IronPort-AV: E=McAfee;i="6600,9927,10684"; a="334186116" X-IronPort-AV: E=Sophos;i="5.99,208,1677571200"; d="scan'208";a="334186116" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Apr 2023 00:44:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10684"; a="693951883" X-IronPort-AV: E=Sophos;i="5.99,208,1677571200"; d="scan'208";a="693951883" Received: from lucas-s2600cw.jf.intel.com ([10.165.21.196]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Apr 2023 00:44:56 -0700 From: Lucas De Marchi To: intel-xe@lists.freedesktop.org Date: Wed, 19 Apr 2023 00:44:30 -0700 Message-Id: <20230419074440.4006398-8-lucas.demarchi@intel.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230419074440.4006398-1-lucas.demarchi@intel.com> References: <20230419074440.4006398-1-lucas.demarchi@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Intel-xe] [PATCH 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