Commit cd39d3b1 authored by Anuj Phogat's avatar Anuj Phogat Committed by Marge Bot
Browse files

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's avatarAnuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
Part-of: <mesa/mesa!10241>
parent dae083f1
......@@ -52,7 +52,7 @@
#include "common/intel_clflush.h"
#include "dev/intel_debug.h"
#include "common/intel_gem.h"
#include "dev/gen_device_info.h"
#include "dev/intel_device_info.h"
#include "main/macros.h"
#include "os/os_mman.h"
#include "util/debug.h"
......
......@@ -28,7 +28,7 @@
#include "util/disk_cache.h"
#include "util/slab.h"
#include "util/u_screen.h"
#include "intel/dev/gen_device_info.h"
#include "intel/dev/intel_device_info.h"
#include "intel/isl/isl.h"
#include "iris_bufmgr.h"
#include "iris_binder.h"
......
......@@ -150,8 +150,8 @@ COMPILER_GENERATED_FILES = \
DEV_FILES = \
dev/intel_debug.c \
dev/intel_debug.h \
dev/gen_device_info.c \
dev/gen_device_info.h
dev/intel_device_info.c \
dev/intel_device_info.h
GENXML_XML_FILES = \
genxml/gen4.xml \
......
......@@ -25,7 +25,7 @@
#define BLORP_GENX_EXEC_H
#include "blorp_priv.h"
#include "dev/gen_device_info.h"
#include "dev/intel_device_info.h"
#include "common/intel_sample_positions.h"
#include "common/intel_l3_config.h"
#include "genxml/gen_macros.h"
......
......@@ -77,7 +77,7 @@
#include "intel_aux_map.h"
#include "intel_gem.h"
#include "dev/gen_device_info.h"
#include "dev/intel_device_info.h"
#include "isl/isl.h"
#include "drm-uapi/i915_drm.h"
......
......@@ -28,7 +28,7 @@
#include <stdbool.h>
#include <stdio.h>
#include "dev/gen_device_info.h"
#include "dev/intel_device_info.h"
#include "util/hash_table.h"
#include "util/bitset.h"
......
......@@ -24,7 +24,7 @@
#ifndef INTEL_DISASM_H
#define INTEL_DISASM_H
#include "intel/dev/gen_device_info.h"
#include "intel/dev/intel_device_info.h"
#ifdef __cplusplus
extern "C" {
......
......@@ -26,7 +26,7 @@
#include <stdio.h>
#include "dev/gen_device_info.h"
#include "dev/intel_device_info.h"
/**
* Chunk of L3 cache reserved for some specific purpose.
......
......@@ -37,7 +37,7 @@
#define __STDC_FORMAT_MACROS 1
#include <inttypes.h>
#include "dev/gen_device_info.h"
#include "dev/intel_device_info.h"
#include "util/debug.h"
#include "util/macros.h"
#include "util/u_debug.h"
......
......@@ -25,7 +25,7 @@
#ifndef INTEL_UUID_H
#define INTEL_UUID_H
#include "dev/gen_device_info.h"
#include "dev/intel_device_info.h"
#include "isl/isl.h"
#ifdef __cplusplus
......
......@@ -24,7 +24,7 @@
#ifndef MI_BUILDER_H
#define MI_BUILDER_H
#include "dev/gen_device_info.h"
#include "dev/intel_device_info.h"
#include "genxml/genX_bits.h"
#include "util/bitscan.h"
#include "util/fast_idiv_by_const.h"
......
......@@ -27,7 +27,7 @@
#include <gtest/gtest.h>
#include "dev/gen_device_info.h"
#include "dev/intel_device_info.h"
#include "drm-uapi/i915_drm.h"
#include "genxml/gen_macros.h"
#include "util/macros.h"
......
......@@ -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"
......
......@@ -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. */
......
......@@ -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),
......
......@@ -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" {
......
......@@ -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)
......
......@@ -33,7 +33,7 @@
#include <xf86drm.h>
#include "gen_device_info.h"
#include "intel_device_info.h"
static int
error(char *fmt, ...)
......
......@@ -27,7 +27,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "gen_device_info.h"
#include "intel_device_info.h"
#include "compiler/shader_enums.h"
#include "intel/common/intel_gem.h"
#include "util/bitscan.h"
......
......@@ -22,8 +22,8 @@
*
*/
#ifndef GEN_DEVICE_INFO_H
#define GEN_DEVICE_INFO_H
#ifndef INTEL_DEVICE_INFO_H
#define INTEL_DEVICE_INFO_H
#include <stdbool.h>
#include <stdint.h>
......@@ -360,4 +360,4 @@ int gen_get_aperture_size(int fd, uint64_t *size);
}
#endif
#endif /* GEN_DEVICE_INFO_H */
#endif /* INTEL_DEVICE_INFO_H */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment