intel: Rename gen_device prefix in filenames

export SEARCH_PATH="src/intel src/gallium/drivers/iris src/mesa/drivers/dri/i965"
find $SEARCH_PATH -type f -name "gen_device" -exec sh -c 'f="{}"; mv -- "$f" "${f/gen_device/intel_device}"' \;
grep -E "gen_device_info*\.[cph]" -rIl $SEARCH_PATH | xargs sed -ie "s/gen_device_info\(.*\.[cph]\)/intel_device_info\1/g"

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10241>
This commit is contained in:
Anuj Phogat
2021-04-05 11:47:31 -07:00
committed by Marge Bot
parent dae083f188
commit cd39d3b1ad
42 changed files with 47 additions and 47 deletions

View File

@@ -25,7 +25,7 @@
#define BRW_COMPILER_H
#include <stdio.h>
#include "dev/gen_device_info.h"
#include "dev/intel_device_info.h"
#include "main/macros.h"
#include "main/mtypes.h"
#include "util/ralloc.h"

View File

@@ -35,7 +35,7 @@
#include <stdint.h>
#include <stdlib.h>
#include "util/macros.h"
#include "dev/gen_device_info.h"
#include "dev/intel_device_info.h"
/* The following hunk, up-to "Execution Unit" is used by both the
* intel/compiler and i965 codebase. */

View File

@@ -22,7 +22,7 @@
*/
#include "util/macros.h"
#include "dev/gen_device_info.h"
#include "dev/intel_device_info.h"
enum gen {
GFX4 = (1 << 0),

View File

@@ -36,7 +36,7 @@
#include "brw_eu_defines.h"
#include "brw_reg_type.h"
#include "dev/gen_device_info.h"
#include "dev/intel_device_info.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -23,7 +23,7 @@
#include "brw_reg.h"
#include "brw_eu_defines.h"
#include "dev/gen_device_info.h"
#include "dev/intel_device_info.h"
#define INVALID (-1)