summaryrefslogtreecommitdiff
path: root/drivers/mxc/amd-gpu/include
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mxc/amd-gpu/include')
-rw-r--r--drivers/mxc/amd-gpu/include/api/gsl_klibapi.h1
-rw-r--r--drivers/mxc/amd-gpu/include/api/gsl_libapi.h1
-rw-r--r--drivers/mxc/amd-gpu/include/api/gsl_types.h14
-rw-r--r--drivers/mxc/amd-gpu/include/gsl_buildconfig.h2
-rw-r--r--drivers/mxc/amd-gpu/include/gsl_device.h9
-rw-r--r--drivers/mxc/amd-gpu/include/gsl_drawctxt.h14
-rw-r--r--drivers/mxc/amd-gpu/include/gsl_driver.h2
-rw-r--r--drivers/mxc/amd-gpu/include/gsl_ioctl.h51
-rw-r--r--drivers/mxc/amd-gpu/include/gsl_mmu.h3
-rw-r--r--drivers/mxc/amd-gpu/include/gsl_ringbuffer.h17
-rw-r--r--drivers/mxc/amd-gpu/include/reg/yamato/10/yamato_mask.h14
-rw-r--r--drivers/mxc/amd-gpu/include/reg/yamato/10/yamato_registers.h14
-rw-r--r--drivers/mxc/amd-gpu/include/reg/yamato/10/yamato_struct.h150
-rw-r--r--drivers/mxc/amd-gpu/include/reg/yamato/14/yamato_struct.h150
-rw-r--r--drivers/mxc/amd-gpu/include/reg/yamato/22/yamato_struct.h150
15 files changed, 78 insertions, 514 deletions
diff --git a/drivers/mxc/amd-gpu/include/api/gsl_klibapi.h b/drivers/mxc/amd-gpu/include/api/gsl_klibapi.h
index 8476f5a95969..3c08545c2b68 100644
--- a/drivers/mxc/amd-gpu/include/api/gsl_klibapi.h
+++ b/drivers/mxc/amd-gpu/include/api/gsl_klibapi.h
@@ -74,6 +74,7 @@ KGSL_API int kgsl_driver_destroy(unsigned int pid);
KGSL_API int kgsl_device_start(gsl_deviceid_t device_id, gsl_flags_t flags);
KGSL_API int kgsl_device_stop(gsl_deviceid_t device_id);
KGSL_API int kgsl_device_idle(gsl_deviceid_t device_id, unsigned int timeout);
+KGSL_API int kgsl_device_isidle(gsl_deviceid_t device_id);
KGSL_API int kgsl_device_getproperty(gsl_deviceid_t device_id, gsl_property_type_t type, void *value, unsigned int sizebytes);
KGSL_API int kgsl_device_setproperty(gsl_deviceid_t device_id, gsl_property_type_t type, void *value, unsigned int sizebytes);
KGSL_API int kgsl_device_regread(gsl_deviceid_t device_id, unsigned int offsetwords, unsigned int *value);
diff --git a/drivers/mxc/amd-gpu/include/api/gsl_libapi.h b/drivers/mxc/amd-gpu/include/api/gsl_libapi.h
index 7a5be862f3ee..3d359e24f572 100644
--- a/drivers/mxc/amd-gpu/include/api/gsl_libapi.h
+++ b/drivers/mxc/amd-gpu/include/api/gsl_libapi.h
@@ -65,6 +65,7 @@ GSL_API int gsl_library_close(void);
GSL_API gsl_devhandle_t gsl_device_open(gsl_deviceid_t device_id, gsl_flags_t flags);
GSL_API int gsl_device_close(gsl_devhandle_t devhandle);
GSL_API int gsl_device_idle(gsl_devhandle_t devhandle, unsigned int timeout);
+GSL_API int gsl_device_isidle(gsl_devhandle_t devhandle);
GSL_API int gsl_device_getcount(void);
GSL_API int gsl_device_getinfo(gsl_devhandle_t devhandle, gsl_devinfo_t *devinfo);
GSL_API int gsl_device_setpowerstate(gsl_devhandle_t devhandle, gsl_flags_t flags);
diff --git a/drivers/mxc/amd-gpu/include/api/gsl_types.h b/drivers/mxc/amd-gpu/include/api/gsl_types.h
index 310c1a9f5d00..99d984966113 100644
--- a/drivers/mxc/amd-gpu/include/api/gsl_types.h
+++ b/drivers/mxc/amd-gpu/include/api/gsl_types.h
@@ -188,13 +188,10 @@
#define GSL_TIMEOUT_NONE 0
#define GSL_TIMEOUT_DEFAULT 0xFFFFFFFF
-#ifdef _LINUX
-#define GSL_PAGESIZE PAGE_SIZE
-#define GSL_PAGESIZE_SHIFT PAGE_SHIFT
-#else
#define GSL_PAGESIZE 0x1000
#define GSL_PAGESIZE_SHIFT 12
-#endif
+
+#define GSL_TIMESTAMP_EPSILON 20000
//////////////////////////////////////////////////////////////////////////////
// types
@@ -407,6 +404,7 @@ typedef struct _gsl_rect_t {
unsigned int y;
unsigned int width;
unsigned int height;
+ unsigned int pitch;
} gsl_rect_t;
// -----------------------
@@ -414,8 +412,10 @@ typedef struct _gsl_rect_t {
// -----------------------
typedef struct _gsl_buffer_desc_t {
gsl_memdesc_t data;
- unsigned int stride_bytes;
- unsigned int bpp;
+ unsigned int width;
+ unsigned int height;
+ unsigned int pitch;
+ unsigned int format;
unsigned int enabled;
} gsl_buffer_desc_t;
diff --git a/drivers/mxc/amd-gpu/include/gsl_buildconfig.h b/drivers/mxc/amd-gpu/include/gsl_buildconfig.h
index 01ba14e4cb66..4e6be4da7dc4 100644
--- a/drivers/mxc/amd-gpu/include/gsl_buildconfig.h
+++ b/drivers/mxc/amd-gpu/include/gsl_buildconfig.h
@@ -36,7 +36,7 @@
#define GSL_BLD_YAMATO
#define GSL_BLD_G12
-#define GSL_LOCKING_COURSEGRAIN
+#define GSL_LOCKING_COARSEGRAIN
#define GSL_STATS_MEM
#define GSL_STATS_RINGBUFFER
diff --git a/drivers/mxc/amd-gpu/include/gsl_device.h b/drivers/mxc/amd-gpu/include/gsl_device.h
index 433dc6963dfd..087dcc1acabf 100644
--- a/drivers/mxc/amd-gpu/include/gsl_device.h
+++ b/drivers/mxc/amd-gpu/include/gsl_device.h
@@ -91,12 +91,18 @@ struct _gsl_device_t {
#ifdef GSL_BLD_YAMATO
gsl_memregion_t gmemspace;
gsl_ringbuffer_t ringbuffer;
+#ifdef GSL_LOCKING_FINEGRAIN
+ oshandle_t drawctxt_mutex;
+#endif
unsigned int drawctxt_count;
gsl_drawctxt_t *drawctxt_active;
gsl_drawctxt_t drawctxt[GSL_CONTEXT_MAX];
#endif // GSL_BLD_YAMATO
#ifdef GSL_BLD_G12
+#ifdef GSL_LOCKING_FINEGRAIN
+ oshandle_t cmdwindow_mutex;
+#endif
unsigned int intrcnt[GSL_G12_INTR_COUNT];
gsl_timestamp_t current_timestamp;
gsl_timestamp_t timestamp;
@@ -108,6 +114,9 @@ struct _gsl_device_t {
oshandle_t irqthread_event;
#endif
#endif // GSL_BLD_G12
+#ifdef GSL_LOCKING_FINEGRAIN
+ oshandle_t cmdstream_mutex;
+#endif
#ifndef _LINUX
oshandle_t timestamp_event;
#else
diff --git a/drivers/mxc/amd-gpu/include/gsl_drawctxt.h b/drivers/mxc/amd-gpu/include/gsl_drawctxt.h
index 15b8097828af..f3bc8c37f4f2 100644
--- a/drivers/mxc/amd-gpu/include/gsl_drawctxt.h
+++ b/drivers/mxc/amd-gpu/include/gsl_drawctxt.h
@@ -59,13 +59,21 @@ typedef struct _gmem_shadow_t
// 256 KB GMEM surface = 4 bytes-per-pixel x 256 pixels/row x 256 rows.
// width & height must be a multiples of 32, in case tiled textures are used.
- unsigned int size; // Size of surface used to store GMEM
+ unsigned int size; // Size of surface used to store GMEM
unsigned int width; // Width of surface used to store GMEM
unsigned int height; // Height of surface used to store GMEM
unsigned int pitch; // Pitch of surface used to store GMEM
+ unsigned int format; // Format of surface used to store GMEM
+
int offset;
- unsigned int offset_x;
- unsigned int offset_y;
+
+ unsigned int offset_x;
+ unsigned int offset_y;
+
+ unsigned int gmem_width; // GMEM width
+ unsigned int gmem_height; // GMEM height
+ unsigned int gmem_pitch; // GMEM pitch
+
unsigned int gmem_offset_x;
unsigned int gmem_offset_y;
diff --git a/drivers/mxc/amd-gpu/include/gsl_driver.h b/drivers/mxc/amd-gpu/include/gsl_driver.h
index 42dff457dc49..9c908ce4696e 100644
--- a/drivers/mxc/amd-gpu/include/gsl_driver.h
+++ b/drivers/mxc/amd-gpu/include/gsl_driver.h
@@ -39,7 +39,7 @@
#define GSL_CALLER_PROCESSID_GET() kos_process_getid()
#endif // GSL_DEDICATED_PROCESS
-#ifdef GSL_LOCKING_COURSEGRAIN
+#ifdef GSL_LOCKING_COARSEGRAIN
#define GSL_API_MUTEX_CREATE() gsl_driver.mutex = kos_mutex_create("gsl_global"); \
if (!gsl_driver.mutex) {return (GSL_FAILURE);}
#define GSL_API_MUTEX_LOCK() kos_mutex_lock(gsl_driver.mutex)
diff --git a/drivers/mxc/amd-gpu/include/gsl_ioctl.h b/drivers/mxc/amd-gpu/include/gsl_ioctl.h
index 0f1983e4c770..6a06f3e0aec4 100644
--- a/drivers/mxc/amd-gpu/include/gsl_ioctl.h
+++ b/drivers/mxc/amd-gpu/include/gsl_ioctl.h
@@ -50,6 +50,10 @@ typedef struct _kgsl_device_idle_t {
unsigned int timeout;
} kgsl_device_idle_t;
+typedef struct _kgsl_device_isidle_t {
+ gsl_deviceid_t device_id;
+} kgsl_device_isidle_t;
+
typedef struct _kgsl_device_getproperty_t {
gsl_deviceid_t device_id;
gsl_property_type_t type;
@@ -209,29 +213,30 @@ typedef struct _kgsl_device_clock_t {
#define IOCTL_KGSL_DEVICE_START _IOW(GSL_MAGIC, 0x20, struct _kgsl_device_start_t)
#define IOCTL_KGSL_DEVICE_STOP _IOW(GSL_MAGIC, 0x21, struct _kgsl_device_stop_t)
#define IOCTL_KGSL_DEVICE_IDLE _IOW(GSL_MAGIC, 0x22, struct _kgsl_device_idle_t)
-#define IOCTL_KGSL_DEVICE_GETPROPERTY _IOWR(GSL_MAGIC, 0x23, struct _kgsl_device_getproperty_t)
-#define IOCTL_KGSL_DEVICE_SETPROPERTY _IOW(GSL_MAGIC, 0x24, struct _kgsl_device_setproperty_t)
-#define IOCTL_KGSL_DEVICE_REGREAD _IOWR(GSL_MAGIC, 0x25, struct _kgsl_device_regread_t)
-#define IOCTL_KGSL_DEVICE_REGWRITE _IOW(GSL_MAGIC, 0x26, struct _kgsl_device_regwrite_t)
-#define IOCTL_KGSL_DEVICE_WAITIRQ _IOWR(GSL_MAGIC, 0x27, struct _kgsl_device_waitirq_t)
-#define IOCTL_KGSL_CMDSTREAM_ISSUEIBCMDS _IOWR(GSL_MAGIC, 0x28, struct _kgsl_cmdstream_issueibcmds_t)
-#define IOCTL_KGSL_CMDSTREAM_READTIMESTAMP _IOWR(GSL_MAGIC, 0x29, struct _kgsl_cmdstream_readtimestamp_t)
-#define IOCTL_KGSL_CMDSTREAM_FREEMEMONTIMESTAMP _IOW(GSL_MAGIC, 0x2A, struct _kgsl_cmdstream_freememontimestamp_t)
-#define IOCTL_KGSL_CMDSTREAM_WAITTIMESTAMP _IOW(GSL_MAGIC, 0x2B, struct _kgsl_cmdstream_waittimestamp_t)
-#define IOCTL_KGSL_CMDWINDOW_WRITE _IOW(GSL_MAGIC, 0x2C, struct _kgsl_cmdwindow_write_t)
-#define IOCTL_KGSL_CONTEXT_CREATE _IOWR(GSL_MAGIC, 0x2D, struct _kgsl_context_create_t)
-#define IOCTL_KGSL_CONTEXT_DESTROY _IOW(GSL_MAGIC, 0x2E, struct _kgsl_context_destroy_t)
-#define IOCTL_KGSL_DRAWCTXT_BIND_GMEM_SHADOW _IOW(GSL_MAGIC, 0x2F, struct _kgsl_drawctxt_bind_gmem_shadow_t)
-#define IOCTL_KGSL_SHAREDMEM_ALLOC _IOWR(GSL_MAGIC, 0x30, struct _kgsl_sharedmem_alloc_t)
-#define IOCTL_KGSL_SHAREDMEM_FREE _IOW(GSL_MAGIC, 0x31, struct _kgsl_sharedmem_free_t)
-#define IOCTL_KGSL_SHAREDMEM_READ _IOWR(GSL_MAGIC, 0x32, struct _kgsl_sharedmem_read_t)
-#define IOCTL_KGSL_SHAREDMEM_WRITE _IOW(GSL_MAGIC, 0x33, struct _kgsl_sharedmem_write_t)
-#define IOCTL_KGSL_SHAREDMEM_SET _IOW(GSL_MAGIC, 0x34, struct _kgsl_sharedmem_set_t)
-#define IOCTL_KGSL_SHAREDMEM_LARGESTFREEBLOCK _IOWR(GSL_MAGIC, 0x35, struct _kgsl_sharedmem_largestfreeblock_t)
-#define IOCTL_KGSL_SHAREDMEM_CACHEOPERATION _IOW(GSL_MAGIC, 0x36, struct _kgsl_sharedmem_cacheoperation_t)
-#define IOCTL_KGSL_SHAREDMEM_FROMHOSTPOINTER _IOW(GSL_MAGIC, 0x37, struct _kgsl_sharedmem_fromhostpointer_t)
-#define IOCTL_KGSL_ADD_TIMESTAMP _IOWR(GSL_MAGIC, 0x38, struct _kgsl_add_timestamp_t)
-#define IOCTL_KGSL_DRIVER_EXIT _IOWR(GSL_MAGIC, 0x39, NULL)
+#define IOCTL_KGSL_DEVICE_ISIDLE _IOR(GSL_MAGIC, 0x23, struct _kgsl_device_isidle_t)
+#define IOCTL_KGSL_DEVICE_GETPROPERTY _IOWR(GSL_MAGIC, 0x24, struct _kgsl_device_getproperty_t)
+#define IOCTL_KGSL_DEVICE_SETPROPERTY _IOW(GSL_MAGIC, 0x25, struct _kgsl_device_setproperty_t)
+#define IOCTL_KGSL_DEVICE_REGREAD _IOWR(GSL_MAGIC, 0x26, struct _kgsl_device_regread_t)
+#define IOCTL_KGSL_DEVICE_REGWRITE _IOW(GSL_MAGIC, 0x27, struct _kgsl_device_regwrite_t)
+#define IOCTL_KGSL_DEVICE_WAITIRQ _IOWR(GSL_MAGIC, 0x28, struct _kgsl_device_waitirq_t)
+#define IOCTL_KGSL_CMDSTREAM_ISSUEIBCMDS _IOWR(GSL_MAGIC, 0x29, struct _kgsl_cmdstream_issueibcmds_t)
+#define IOCTL_KGSL_CMDSTREAM_READTIMESTAMP _IOWR(GSL_MAGIC, 0x2A, struct _kgsl_cmdstream_readtimestamp_t)
+#define IOCTL_KGSL_CMDSTREAM_FREEMEMONTIMESTAMP _IOW(GSL_MAGIC, 0x2B, struct _kgsl_cmdstream_freememontimestamp_t)
+#define IOCTL_KGSL_CMDSTREAM_WAITTIMESTAMP _IOW(GSL_MAGIC, 0x2C, struct _kgsl_cmdstream_waittimestamp_t)
+#define IOCTL_KGSL_CMDWINDOW_WRITE _IOW(GSL_MAGIC, 0x2D, struct _kgsl_cmdwindow_write_t)
+#define IOCTL_KGSL_CONTEXT_CREATE _IOWR(GSL_MAGIC, 0x2E, struct _kgsl_context_create_t)
+#define IOCTL_KGSL_CONTEXT_DESTROY _IOW(GSL_MAGIC, 0x2F, struct _kgsl_context_destroy_t)
+#define IOCTL_KGSL_DRAWCTXT_BIND_GMEM_SHADOW _IOW(GSL_MAGIC, 0x30, struct _kgsl_drawctxt_bind_gmem_shadow_t)
+#define IOCTL_KGSL_SHAREDMEM_ALLOC _IOWR(GSL_MAGIC, 0x31, struct _kgsl_sharedmem_alloc_t)
+#define IOCTL_KGSL_SHAREDMEM_FREE _IOW(GSL_MAGIC, 0x32, struct _kgsl_sharedmem_free_t)
+#define IOCTL_KGSL_SHAREDMEM_READ _IOWR(GSL_MAGIC, 0x33, struct _kgsl_sharedmem_read_t)
+#define IOCTL_KGSL_SHAREDMEM_WRITE _IOW(GSL_MAGIC, 0x34, struct _kgsl_sharedmem_write_t)
+#define IOCTL_KGSL_SHAREDMEM_SET _IOW(GSL_MAGIC, 0x35, struct _kgsl_sharedmem_set_t)
+#define IOCTL_KGSL_SHAREDMEM_LARGESTFREEBLOCK _IOWR(GSL_MAGIC, 0x36, struct _kgsl_sharedmem_largestfreeblock_t)
+#define IOCTL_KGSL_SHAREDMEM_CACHEOPERATION _IOW(GSL_MAGIC, 0x37, struct _kgsl_sharedmem_cacheoperation_t)
+#define IOCTL_KGSL_SHAREDMEM_FROMHOSTPOINTER _IOW(GSL_MAGIC, 0x38, struct _kgsl_sharedmem_fromhostpointer_t)
+#define IOCTL_KGSL_ADD_TIMESTAMP _IOWR(GSL_MAGIC, 0x39, struct _kgsl_add_timestamp_t)
+#define IOCTL_KGSL_DRIVER_EXIT _IOWR(GSL_MAGIC, 0x3A, NULL)
#define IOCTL_KGSL_DEVICE_CLOCK _IOWR(GSL_MAGIC, 0x60, struct _kgsl_device_clock_t)
diff --git a/drivers/mxc/amd-gpu/include/gsl_mmu.h b/drivers/mxc/amd-gpu/include/gsl_mmu.h
index 868c5156f290..ddb2243b58d5 100644
--- a/drivers/mxc/amd-gpu/include/gsl_mmu.h
+++ b/drivers/mxc/amd-gpu/include/gsl_mmu.h
@@ -135,6 +135,9 @@ typedef struct _gsl_tlbflushfilter_t {
// mmu object
// ----------
typedef struct _gsl_mmu_t {
+#ifdef GSL_LOCKING_FINEGRAIN
+ oshandle_t mutex;
+#endif
unsigned int refcnt;
gsl_flags_t flags;
gsl_device_t *device;
diff --git a/drivers/mxc/amd-gpu/include/gsl_ringbuffer.h b/drivers/mxc/amd-gpu/include/gsl_ringbuffer.h
index 6081c396f6e4..57f6297735e2 100644
--- a/drivers/mxc/amd-gpu/include/gsl_ringbuffer.h
+++ b/drivers/mxc/amd-gpu/include/gsl_ringbuffer.h
@@ -136,7 +136,9 @@ typedef struct _gsl_ringbuffer_t {
gsl_device_t *device;
gsl_flags_t flags;
-
+#ifdef GSL_LOCKING_FINEGRAIN
+ oshandle_t mutex;
+#endif
gsl_memdesc_t buffer_desc; // allocated memory descriptor
gsl_memdesc_t memptrs_desc;
@@ -163,6 +165,19 @@ typedef struct _gsl_ringbuffer_t {
// macros
//////////////////////////////////////////////////////////////////////////////
+#ifdef GSL_LOCKING_FINEGRAIN
+#define GSL_RB_MUTEX_CREATE() rb->mutex = kos_mutex_create("gsl_ringbuffer"); \
+ if (!rb->mutex) {return (GSL_FAILURE);}
+#define GSL_RB_MUTEX_LOCK() kos_mutex_lock(rb->mutex)
+#define GSL_RB_MUTEX_UNLOCK() kos_mutex_unlock(rb->mutex)
+#define GSL_RB_MUTEX_FREE() kos_mutex_free(rb->mutex); rb->mutex = 0;
+#else
+#define GSL_RB_MUTEX_CREATE()
+#define GSL_RB_MUTEX_LOCK()
+#define GSL_RB_MUTEX_UNLOCK()
+#define GSL_RB_MUTEX_FREE()
+#endif
+
// ----------
// ring write
// ----------
diff --git a/drivers/mxc/amd-gpu/include/reg/yamato/10/yamato_mask.h b/drivers/mxc/amd-gpu/include/reg/yamato/10/yamato_mask.h
index f31b2a74d1fa..c3087908c541 100644
--- a/drivers/mxc/amd-gpu/include/reg/yamato/10/yamato_mask.h
+++ b/drivers/mxc/amd-gpu/include/reg/yamato/10/yamato_mask.h
@@ -28,20 +28,6 @@
#if !defined (_yamato_MASK_HEADER)
#define _yamato_MASK_HEADER
-/*
-* yamato_mask.h
-*
-* Register Spec Release: Chip Spec 1.0
-*
-*
-* (c) 2000 ATI Technologies Inc. (unpublished)
-*
-* All rights reserved. This notice is intended as a precaution against
-* inadvertent publication and does not imply publication or any waiver
-* of confidentiality. The year included in the foregoing notice is the
-* year of creation of the work.
-*
-*/
// PA_CL_VPORT_XSCALE
#define PA_CL_VPORT_XSCALE__VPORT_XSCALE_MASK 0xffffffffL
diff --git a/drivers/mxc/amd-gpu/include/reg/yamato/10/yamato_registers.h b/drivers/mxc/amd-gpu/include/reg/yamato/10/yamato_registers.h
index 3cd315f903db..fc6b8b98f849 100644
--- a/drivers/mxc/amd-gpu/include/reg/yamato/10/yamato_registers.h
+++ b/drivers/mxc/amd-gpu/include/reg/yamato/10/yamato_registers.h
@@ -28,20 +28,6 @@
#if !defined (_yamato_REG_HEADER)
#define _yamato_REG_HEADER
-/*
-* yamato_registers.h
-*
-* Register Spec Release: Chip Spec 1.0
-*
-*
-* (c) 2000 ATI Technologies Inc. (unpublished)
-*
-* All rights reserved. This notice is intended as a precaution against
-* inadvertent publication and does not imply publication or any waiver
-* of confidentiality. The year included in the foregoing notice is the
-* year of creation of the work.
-*
-*/
union PA_CL_VPORT_XSCALE {
struct {
diff --git a/drivers/mxc/amd-gpu/include/reg/yamato/10/yamato_struct.h b/drivers/mxc/amd-gpu/include/reg/yamato/10/yamato_struct.h
index 9e9c7282dcdb..d6cc2fe9abdf 100644
--- a/drivers/mxc/amd-gpu/include/reg/yamato/10/yamato_struct.h
+++ b/drivers/mxc/amd-gpu/include/reg/yamato/10/yamato_struct.h
@@ -7847,21 +7847,6 @@ typedef union {
#if !defined (_RBBM_FIDDLE_H)
#define _RBBM_FIDDLE_H
-/*****************************************************************************************************************
- *
- * rbbm_reg.h
- *
- * Register Spec Release: Block Spec 1.0
- *
- * (c) 2000 ATI Technologies Inc. (unpublished)
- *
- * All rights reserved. This notice is intended as a precaution against
- * inadvertent publication and does not imply publication or any waiver
- * of confidentiality. The year included in the foregoing notice is the
- * year of creation of the work.
- *
- *****************************************************************************************************************/
-
/*******************************************************
* Enums
*******************************************************/
@@ -10977,21 +10962,6 @@ typedef union {
#if !defined (_MH_FIDDLE_H)
#define _MH_FIDDLE_H
-/*****************************************************************************************************************
- *
- * mh_reg.h
- *
- * Register Spec Release: Block Spec 1.0
- *
- * (c) 2000 ATI Technologies Inc. (unpublished)
- *
- * All rights reserved. This notice is intended as a precaution against
- * inadvertent publication and does not imply publication or any waiver
- * of confidentiality. The year included in the foregoing notice is the
- * year of creation of the work.
- *
- *****************************************************************************************************************/
-
/*******************************************************
* Enums
*******************************************************/
@@ -19932,21 +19902,6 @@ typedef union {
#if !defined (_PA_FIDDLE_H)
#define _PA_FIDDLE_H
-/*****************************************************************************************************************
- *
- * pa_reg.h
- *
- * Register Spec Release: Block Spec 1.0
- *
- * (c) 2000 ATI Technologies Inc. (unpublished)
- *
- * All rights reserved. This notice is intended as a precaution against
- * inadvertent publication and does not imply publication or any waiver
- * of confidentiality. The year included in the foregoing notice is the
- * year of creation of the work.
- *
- *****************************************************************************************************************/
-
/*******************************************************
* Enums
*******************************************************/
@@ -27841,21 +27796,6 @@ typedef union {
#if !defined (_VGT_FIDDLE_H)
#define _VGT_FIDDLE_H
-/*****************************************************************************************************************
- *
- * vgt_reg.h
- *
- * Register Spec Release: Block Spec 1.0
- *
- * (c) 2000 ATI Technologies Inc. (unpublished)
- *
- * All rights reserved. This notice is intended as a precaution against
- * inadvertent publication and does not imply publication or any waiver
- * of confidentiality. The year included in the foregoing notice is the
- * year of creation of the work.
- *
- *****************************************************************************************************************/
-
/*******************************************************
* Enums
*******************************************************/
@@ -32985,21 +32925,6 @@ typedef union {
#if !defined (_SQ_FIDDLE_H)
#define _SQ_FIDDLE_H
-/*****************************************************************************************************************
- *
- * sq_reg.h
- *
- * Register Spec Release: Block Spec 1.0
- *
- * (c) 2000 ATI Technologies Inc. (unpublished)
- *
- * All rights reserved. This notice is intended as a precaution against
- * inadvertent publication and does not imply publication or any waiver
- * of confidentiality. The year included in the foregoing notice is the
- * year of creation of the work.
- *
- *****************************************************************************************************************/
-
/*******************************************************
* Enums
*******************************************************/
@@ -42029,21 +41954,6 @@ typedef union {
#if !defined (_SX_FIDDLE_H)
#define _SX_FIDDLE_H
-/*****************************************************************************************************************
- *
- * sx_reg.h
- *
- * Register Spec Release: Block Spec 1.0
- *
- * (c) 2000 ATI Technologies Inc. (unpublished)
- *
- * All rights reserved. This notice is intended as a precaution against
- * inadvertent publication and does not imply publication or any waiver
- * of confidentiality. The year included in the foregoing notice is the
- * year of creation of the work.
- *
- *****************************************************************************************************************/
-
/*******************************************************
* Enums
*******************************************************/
@@ -42064,21 +41974,6 @@ typedef union {
#if !defined (_TP_FIDDLE_H)
#define _TP_FIDDLE_H
-/*****************************************************************************************************************
- *
- * tp_reg.h
- *
- * Register Spec Release: Block Spec 1.0
- *
- * (c) 2000 ATI Technologies Inc. (unpublished)
- *
- * All rights reserved. This notice is intended as a precaution against
- * inadvertent publication and does not imply publication or any waiver
- * of confidentiality. The year included in the foregoing notice is the
- * year of creation of the work.
- *
- *****************************************************************************************************************/
-
/*******************************************************
* Enums
*******************************************************/
@@ -48231,21 +48126,6 @@ typedef union {
#if !defined (_TC_FIDDLE_H)
#define _TC_FIDDLE_H
-/*****************************************************************************************************************
- *
- * tc_reg.h
- *
- * Register Spec Release: Block Spec 1.0
- *
- * (c) 2000 ATI Technologies Inc. (unpublished)
- *
- * All rights reserved. This notice is intended as a precaution against
- * inadvertent publication and does not imply publication or any waiver
- * of confidentiality. The year included in the foregoing notice is the
- * year of creation of the work.
- *
- *****************************************************************************************************************/
-
/*******************************************************
* Enums
*******************************************************/
@@ -48266,21 +48146,6 @@ typedef union {
#if !defined (_SC_FIDDLE_H)
#define _SC_FIDDLE_H
-/*****************************************************************************************************************
- *
- * sc_reg.h
- *
- * Register Spec Release: Block Spec 1.0
- *
- * (c) 2000 ATI Technologies Inc. (unpublished)
- *
- * All rights reserved. This notice is intended as a precaution against
- * inadvertent publication and does not imply publication or any waiver
- * of confidentiality. The year included in the foregoing notice is the
- * year of creation of the work.
- *
- *****************************************************************************************************************/
-
/*******************************************************
* Enums
*******************************************************/
@@ -48301,21 +48166,6 @@ typedef union {
#if !defined (_BC_FIDDLE_H)
#define _BC_FIDDLE_H
-/*****************************************************************************************************************
- *
- * bc_reg.h
- *
- * Register Spec Release: Block Spec 1.0
- *
- * (c) 2000 ATI Technologies Inc. (unpublished)
- *
- * All rights reserved. This notice is intended as a precaution against
- * inadvertent publication and does not imply publication or any waiver
- * of confidentiality. The year included in the foregoing notice is the
- * year of creation of the work.
- *
- *****************************************************************************************************************/
-
/*******************************************************
* Enums
*******************************************************/
diff --git a/drivers/mxc/amd-gpu/include/reg/yamato/14/yamato_struct.h b/drivers/mxc/amd-gpu/include/reg/yamato/14/yamato_struct.h
index 80b9106759e3..e8402cda4463 100644
--- a/drivers/mxc/amd-gpu/include/reg/yamato/14/yamato_struct.h
+++ b/drivers/mxc/amd-gpu/include/reg/yamato/14/yamato_struct.h
@@ -7826,21 +7826,6 @@ typedef union {
#if !defined (_RBBM_FIDDLE_H)
#define _RBBM_FIDDLE_H
-/*****************************************************************************************************************
- *
- * rbbm_reg.h
- *
- * Register Spec Release: Block Spec 1.0
- *
- * (c) 2000 ATI Technologies Inc. (unpublished)
- *
- * All rights reserved. This notice is intended as a precaution against
- * inadvertent publication and does not imply publication or any waiver
- * of confidentiality. The year included in the foregoing notice is the
- * year of creation of the work.
- *
- *****************************************************************************************************************/
-
/*******************************************************
* Enums
*******************************************************/
@@ -10526,21 +10511,6 @@ typedef union {
#if !defined (_MH_FIDDLE_H)
#define _MH_FIDDLE_H
-/*****************************************************************************************************************
- *
- * mh_reg.h
- *
- * Register Spec Release: Block Spec 1.0
- *
- * (c) 2000 ATI Technologies Inc. (unpublished)
- *
- * All rights reserved. This notice is intended as a precaution against
- * inadvertent publication and does not imply publication or any waiver
- * of confidentiality. The year included in the foregoing notice is the
- * year of creation of the work.
- *
- *****************************************************************************************************************/
-
/*******************************************************
* Enums
*******************************************************/
@@ -19151,21 +19121,6 @@ typedef union {
#if !defined (_PA_FIDDLE_H)
#define _PA_FIDDLE_H
-/*****************************************************************************************************************
- *
- * pa_reg.h
- *
- * Register Spec Release: Block Spec 1.0
- *
- * (c) 2000 ATI Technologies Inc. (unpublished)
- *
- * All rights reserved. This notice is intended as a precaution against
- * inadvertent publication and does not imply publication or any waiver
- * of confidentiality. The year included in the foregoing notice is the
- * year of creation of the work.
- *
- *****************************************************************************************************************/
-
/*******************************************************
* Enums
*******************************************************/
@@ -26983,21 +26938,6 @@ typedef union {
#if !defined (_VGT_FIDDLE_H)
#define _VGT_FIDDLE_H
-/*****************************************************************************************************************
- *
- * vgt_reg.h
- *
- * Register Spec Release: Block Spec 1.0
- *
- * (c) 2000 ATI Technologies Inc. (unpublished)
- *
- * All rights reserved. This notice is intended as a precaution against
- * inadvertent publication and does not imply publication or any waiver
- * of confidentiality. The year included in the foregoing notice is the
- * year of creation of the work.
- *
- *****************************************************************************************************************/
-
/*******************************************************
* Enums
*******************************************************/
@@ -32094,21 +32034,6 @@ typedef union {
#if !defined (_SQ_FIDDLE_H)
#define _SQ_FIDDLE_H
-/*****************************************************************************************************************
- *
- * sq_reg.h
- *
- * Register Spec Release: Block Spec 1.0
- *
- * (c) 2000 ATI Technologies Inc. (unpublished)
- *
- * All rights reserved. This notice is intended as a precaution against
- * inadvertent publication and does not imply publication or any waiver
- * of confidentiality. The year included in the foregoing notice is the
- * year of creation of the work.
- *
- *****************************************************************************************************************/
-
/*******************************************************
* Enums
*******************************************************/
@@ -40867,21 +40792,6 @@ typedef union {
#if !defined (_SX_FIDDLE_H)
#define _SX_FIDDLE_H
-/*****************************************************************************************************************
- *
- * sx_reg.h
- *
- * Register Spec Release: Block Spec 1.0
- *
- * (c) 2000 ATI Technologies Inc. (unpublished)
- *
- * All rights reserved. This notice is intended as a precaution against
- * inadvertent publication and does not imply publication or any waiver
- * of confidentiality. The year included in the foregoing notice is the
- * year of creation of the work.
- *
- *****************************************************************************************************************/
-
/*******************************************************
* Enums
*******************************************************/
@@ -40902,21 +40812,6 @@ typedef union {
#if !defined (_TP_FIDDLE_H)
#define _TP_FIDDLE_H
-/*****************************************************************************************************************
- *
- * tp_reg.h
- *
- * Register Spec Release: Block Spec 1.0
- *
- * (c) 2000 ATI Technologies Inc. (unpublished)
- *
- * All rights reserved. This notice is intended as a precaution against
- * inadvertent publication and does not imply publication or any waiver
- * of confidentiality. The year included in the foregoing notice is the
- * year of creation of the work.
- *
- *****************************************************************************************************************/
-
/*******************************************************
* Enums
*******************************************************/
@@ -47069,21 +46964,6 @@ typedef union {
#if !defined (_TC_FIDDLE_H)
#define _TC_FIDDLE_H
-/*****************************************************************************************************************
- *
- * tc_reg.h
- *
- * Register Spec Release: Block Spec 1.0
- *
- * (c) 2000 ATI Technologies Inc. (unpublished)
- *
- * All rights reserved. This notice is intended as a precaution against
- * inadvertent publication and does not imply publication or any waiver
- * of confidentiality. The year included in the foregoing notice is the
- * year of creation of the work.
- *
- *****************************************************************************************************************/
-
/*******************************************************
* Enums
*******************************************************/
@@ -47104,21 +46984,6 @@ typedef union {
#if !defined (_SC_FIDDLE_H)
#define _SC_FIDDLE_H
-/*****************************************************************************************************************
- *
- * sc_reg.h
- *
- * Register Spec Release: Block Spec 1.0
- *
- * (c) 2000 ATI Technologies Inc. (unpublished)
- *
- * All rights reserved. This notice is intended as a precaution against
- * inadvertent publication and does not imply publication or any waiver
- * of confidentiality. The year included in the foregoing notice is the
- * year of creation of the work.
- *
- *****************************************************************************************************************/
-
/*******************************************************
* Enums
*******************************************************/
@@ -47139,21 +47004,6 @@ typedef union {
#if !defined (_BC_FIDDLE_H)
#define _BC_FIDDLE_H
-/*****************************************************************************************************************
- *
- * bc_reg.h
- *
- * Register Spec Release: Block Spec 1.0
- *
- * (c) 2000 ATI Technologies Inc. (unpublished)
- *
- * All rights reserved. This notice is intended as a precaution against
- * inadvertent publication and does not imply publication or any waiver
- * of confidentiality. The year included in the foregoing notice is the
- * year of creation of the work.
- *
- *****************************************************************************************************************/
-
/*******************************************************
* Enums
*******************************************************/
diff --git a/drivers/mxc/amd-gpu/include/reg/yamato/22/yamato_struct.h b/drivers/mxc/amd-gpu/include/reg/yamato/22/yamato_struct.h
index 78d4924ef79d..21de35591e7d 100644
--- a/drivers/mxc/amd-gpu/include/reg/yamato/22/yamato_struct.h
+++ b/drivers/mxc/amd-gpu/include/reg/yamato/22/yamato_struct.h
@@ -7848,21 +7848,6 @@ typedef union {
#if !defined (_RBBM_FIDDLE_H)
#define _RBBM_FIDDLE_H
-/*****************************************************************************************************************
- *
- * rbbm_reg.h
- *
- * Register Spec Release: Block Spec 1.0
- *
- * (c) 2000 ATI Technologies Inc. (unpublished)
- *
- * All rights reserved. This notice is intended as a precaution against
- * inadvertent publication and does not imply publication or any waiver
- * of confidentiality. The year included in the foregoing notice is the
- * year of creation of the work.
- *
- *****************************************************************************************************************/
-
/*******************************************************
* Enums
*******************************************************/
@@ -10978,21 +10963,6 @@ typedef union {
#if !defined (_MH_FIDDLE_H)
#define _MH_FIDDLE_H
-/*****************************************************************************************************************
- *
- * mh_reg.h
- *
- * Register Spec Release: Block Spec 1.0
- *
- * (c) 2000 ATI Technologies Inc. (unpublished)
- *
- * All rights reserved. This notice is intended as a precaution against
- * inadvertent publication and does not imply publication or any waiver
- * of confidentiality. The year included in the foregoing notice is the
- * year of creation of the work.
- *
- *****************************************************************************************************************/
-
/*******************************************************
* Enums
*******************************************************/
@@ -19933,21 +19903,6 @@ typedef union {
#if !defined (_PA_FIDDLE_H)
#define _PA_FIDDLE_H
-/*****************************************************************************************************************
- *
- * pa_reg.h
- *
- * Register Spec Release: Block Spec 1.0
- *
- * (c) 2000 ATI Technologies Inc. (unpublished)
- *
- * All rights reserved. This notice is intended as a precaution against
- * inadvertent publication and does not imply publication or any waiver
- * of confidentiality. The year included in the foregoing notice is the
- * year of creation of the work.
- *
- *****************************************************************************************************************/
-
/*******************************************************
* Enums
*******************************************************/
@@ -27853,21 +27808,6 @@ typedef union {
#if !defined (_VGT_FIDDLE_H)
#define _VGT_FIDDLE_H
-/*****************************************************************************************************************
- *
- * vgt_reg.h
- *
- * Register Spec Release: Block Spec 1.0
- *
- * (c) 2000 ATI Technologies Inc. (unpublished)
- *
- * All rights reserved. This notice is intended as a precaution against
- * inadvertent publication and does not imply publication or any waiver
- * of confidentiality. The year included in the foregoing notice is the
- * year of creation of the work.
- *
- *****************************************************************************************************************/
-
/*******************************************************
* Enums
*******************************************************/
@@ -32997,21 +32937,6 @@ typedef union {
#if !defined (_SQ_FIDDLE_H)
#define _SQ_FIDDLE_H
-/*****************************************************************************************************************
- *
- * sq_reg.h
- *
- * Register Spec Release: Block Spec 1.0
- *
- * (c) 2000 ATI Technologies Inc. (unpublished)
- *
- * All rights reserved. This notice is intended as a precaution against
- * inadvertent publication and does not imply publication or any waiver
- * of confidentiality. The year included in the foregoing notice is the
- * year of creation of the work.
- *
- *****************************************************************************************************************/
-
/*******************************************************
* Enums
*******************************************************/
@@ -42041,21 +41966,6 @@ typedef union {
#if !defined (_SX_FIDDLE_H)
#define _SX_FIDDLE_H
-/*****************************************************************************************************************
- *
- * sx_reg.h
- *
- * Register Spec Release: Block Spec 1.0
- *
- * (c) 2000 ATI Technologies Inc. (unpublished)
- *
- * All rights reserved. This notice is intended as a precaution against
- * inadvertent publication and does not imply publication or any waiver
- * of confidentiality. The year included in the foregoing notice is the
- * year of creation of the work.
- *
- *****************************************************************************************************************/
-
/*******************************************************
* Enums
*******************************************************/
@@ -42076,21 +41986,6 @@ typedef union {
#if !defined (_TP_FIDDLE_H)
#define _TP_FIDDLE_H
-/*****************************************************************************************************************
- *
- * tp_reg.h
- *
- * Register Spec Release: Block Spec 1.0
- *
- * (c) 2000 ATI Technologies Inc. (unpublished)
- *
- * All rights reserved. This notice is intended as a precaution against
- * inadvertent publication and does not imply publication or any waiver
- * of confidentiality. The year included in the foregoing notice is the
- * year of creation of the work.
- *
- *****************************************************************************************************************/
-
/*******************************************************
* Enums
*******************************************************/
@@ -48243,21 +48138,6 @@ typedef union {
#if !defined (_TC_FIDDLE_H)
#define _TC_FIDDLE_H
-/*****************************************************************************************************************
- *
- * tc_reg.h
- *
- * Register Spec Release: Block Spec 1.0
- *
- * (c) 2000 ATI Technologies Inc. (unpublished)
- *
- * All rights reserved. This notice is intended as a precaution against
- * inadvertent publication and does not imply publication or any waiver
- * of confidentiality. The year included in the foregoing notice is the
- * year of creation of the work.
- *
- *****************************************************************************************************************/
-
/*******************************************************
* Enums
*******************************************************/
@@ -48278,21 +48158,6 @@ typedef union {
#if !defined (_SC_FIDDLE_H)
#define _SC_FIDDLE_H
-/*****************************************************************************************************************
- *
- * sc_reg.h
- *
- * Register Spec Release: Block Spec 1.0
- *
- * (c) 2000 ATI Technologies Inc. (unpublished)
- *
- * All rights reserved. This notice is intended as a precaution against
- * inadvertent publication and does not imply publication or any waiver
- * of confidentiality. The year included in the foregoing notice is the
- * year of creation of the work.
- *
- *****************************************************************************************************************/
-
/*******************************************************
* Enums
*******************************************************/
@@ -48313,21 +48178,6 @@ typedef union {
#if !defined (_BC_FIDDLE_H)
#define _BC_FIDDLE_H
-/*****************************************************************************************************************
- *
- * bc_reg.h
- *
- * Register Spec Release: Block Spec 1.0
- *
- * (c) 2000 ATI Technologies Inc. (unpublished)
- *
- * All rights reserved. This notice is intended as a precaution against
- * inadvertent publication and does not imply publication or any waiver
- * of confidentiality. The year included in the foregoing notice is the
- * year of creation of the work.
- *
- *****************************************************************************************************************/
-
/*******************************************************
* Enums
*******************************************************/