Commit 3967633d authored by Roy Spliet's avatar Roy Spliet Committed by Ben Skeggs
Browse files

drm/nouveau/pwr/macros: Stop playing Russian roulette on data memory


Signed-off-by: default avatarRoy Spliet <rspliet@eclipso.eu>
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 25856c0b
......@@ -242,7 +242,7 @@
*/ push reg /*
*/ pop $r13 /*
*/ pop $r14 /*
*/ call(wr32) /*
*/ call(wr32)
#else
#define nv_wr32(addr,reg) /*
*/ sethi $r0 0x14000000 /*
......
......@@ -46,8 +46,8 @@ uint32_t nv108_pwr_data[] = {
0x00000000,
0x00000000,
0x584d454d,
0x0000046f,
0x00000461,
0x00000464,
0x00000456,
0x00000000,
0x00000000,
0x00000000,
......@@ -68,8 +68,8 @@ uint32_t nv108_pwr_data[] = {
0x00000000,
0x00000000,
0x46524550,
0x00000473,
0x00000471,
0x00000468,
0x00000466,
0x00000000,
0x00000000,
0x00000000,
......@@ -90,8 +90,8 @@ uint32_t nv108_pwr_data[] = {
0x00000000,
0x00000000,
0x5f433249,
0x00000877,
0x0000071e,
0x0000086c,
0x00000713,
0x00000000,
0x00000000,
0x00000000,
......@@ -112,8 +112,8 @@ uint32_t nv108_pwr_data[] = {
0x00000000,
0x00000000,
0x54534554,
0x00000898,
0x00000879,
0x0000088d,
0x0000086e,
0x00000000,
0x00000000,
0x00000000,
......@@ -134,8 +134,8 @@ uint32_t nv108_pwr_data[] = {
0x00000000,
0x00000000,
0x454c4449,
0x000008a3,
0x000008a1,
0x00000898,
0x00000896,
0x00000000,
0x00000000,
0x00000000,
......@@ -239,10 +239,10 @@ uint32_t nv108_pwr_data[] = {
0x000003df,
0x00040003,
0x00000000,
0x00000407,
0x000003fc,
0x00010004,
0x00000000,
0x00000421,
0x00000416,
/* 0x03ac: memx_func_tail */
/* 0x03ac: memx_data_head */
0x00000000,
......@@ -1080,375 +1080,375 @@ uint32_t nv108_pwr_code[] = {
0x50f960f9,
0xe0fcd0fc,
0x00002e7e,
0x140003f1,
0xa00506fd,
0xb604bd05,
0x1bf40242,
/* 0x0407: memx_func_wait */
0x0800f8dd,
0x0088cf2c,
0x98001e98,
0x1c98011d,
0x031b9802,
0x7e1010b6,
0xf8000071,
/* 0x0421: memx_func_delay */
0xf40242b6,
0x00f8e81b,
/* 0x03fc: memx_func_wait */
0x88cf2c08,
0x001e9800,
0x7e0410b6,
0xf800005d,
/* 0x042d: memx_exec */
0xf9e0f900,
0xb2c1b2d0,
/* 0x0435: memx_exec_next */
0x001398b2,
0x950410b6,
0x30f01034,
0xde35980c,
0x12a655f9,
0xfced1ef4,
0x7ee0fcd0,
0xf800023f,
/* 0x0455: memx_info */
0x03ac4c00,
0x7e08004b,
0xf800023f,
/* 0x0461: memx_recv */
0x01d6b000,
0xb0c90bf4,
0x0bf400d6,
/* 0x046f: memx_init */
0xf800f8eb,
/* 0x0471: perf_recv */
/* 0x0473: perf_init */
0xf800f800,
/* 0x0475: i2c_drive_scl */
0x0036b000,
0x400d0bf4,
0x01f607e0,
0xf804bd00,
/* 0x0485: i2c_drive_scl_lo */
0x07e44000,
0xbd0001f6,
/* 0x048f: i2c_drive_sda */
0xb000f804,
0x0bf40036,
0x07e0400d,
0xbd0002f6,
/* 0x049f: i2c_drive_sda_lo */
0x4000f804,
0x02f607e4,
0xf804bd00,
/* 0x04a9: i2c_sense_scl */
0x0132f400,
0xcf07c443,
0x31fd0033,
0x060bf404,
/* 0x04bb: i2c_sense_scl_done */
0xf80131f4,
/* 0x04bd: i2c_sense_sda */
0x0132f400,
0xcf07c443,
0x32fd0033,
0x060bf404,
/* 0x04cf: i2c_sense_sda_done */
0xf80131f4,
/* 0x04d1: i2c_raise_scl */
0x4440f900,
0x01030898,
0x0004757e,
/* 0x04dc: i2c_raise_scl_wait */
0x7e03e84e,
0x7e00005d,
0xf40004a9,
0x42b60901,
0xef1bf401,
/* 0x04f0: i2c_raise_scl_done */
0x00f840fc,
/* 0x04f4: i2c_start */
0x0004a97e,
0x7e0d11f4,
0xf40004bd,
0x0ef40611,
/* 0x0505: i2c_start_rep */
0x7e00032e,
0x03000475,
0x048f7e01,
0x0076bb00,
0xf90465b6,
0x04659450,
0xbd0256bb,
0x0475fd50,
0xd17e50fc,
0x64b60004,
0x1d11f404,
/* 0x0530: i2c_start_send */
0x8f7e0003,
0x884e0004,
0x005d7e13,
0x7e000300,
0x4e000475,
0x5d7e1388,
/* 0x054a: i2c_start_out */
0x00f80000,
/* 0x054c: i2c_stop */
0x757e0003,
0x00030004,
0x00048f7e,
0x7e03e84e,
0x0300005d,
0x04757e01,
0x13884e00,
0x98011d98,
0x1b98021c,
0x1010b603,
0x0000717e,
/* 0x0416: memx_func_delay */
0x1e9800f8,
0x0410b600,
0x00005d7e,
0x8f7e0103,
0x884e0004,
0x005d7e13,
/* 0x057b: i2c_bitw */
0x7e00f800,
0x4e00048f,
0x5d7e03e8,
0x76bb0000,
/* 0x0422: memx_exec */
0xe0f900f8,
0xc1b2d0f9,
/* 0x042a: memx_exec_next */
0x1398b2b2,
0x0410b600,
0xf0103495,
0x35980c30,
0xa655f9de,
0xed1ef412,
0xe0fcd0fc,
0x00023f7e,
/* 0x044a: memx_info */
0xac4c00f8,
0x08004b03,
0x00023f7e,
/* 0x0456: memx_recv */
0xd6b000f8,
0xc90bf401,
0xf400d6b0,
0x00f8eb0b,
/* 0x0464: memx_init */
/* 0x0466: perf_recv */
0x00f800f8,
/* 0x0468: perf_init */
/* 0x046a: i2c_drive_scl */
0x36b000f8,
0x0d0bf400,
0xf607e040,
0x04bd0001,
/* 0x047a: i2c_drive_scl_lo */
0xe44000f8,
0x0001f607,
0x00f804bd,
/* 0x0484: i2c_drive_sda */
0xf40036b0,
0xe0400d0b,
0x0002f607,
0x00f804bd,
/* 0x0494: i2c_drive_sda_lo */
0xf607e440,
0x04bd0002,
/* 0x049e: i2c_sense_scl */
0x32f400f8,
0x07c44301,
0xfd0033cf,
0x0bf40431,
0x0131f406,
/* 0x04b0: i2c_sense_scl_done */
/* 0x04b2: i2c_sense_sda */
0x32f400f8,
0x07c44301,
0xfd0033cf,
0x0bf40432,
0x0131f406,
/* 0x04c4: i2c_sense_sda_done */
/* 0x04c6: i2c_raise_scl */
0x40f900f8,
0x03089844,
0x046a7e01,
/* 0x04d1: i2c_raise_scl_wait */
0x03e84e00,
0x00005d7e,
0x00049e7e,
0xb60901f4,
0x1bf40142,
/* 0x04e5: i2c_raise_scl_done */
0xf840fcef,
/* 0x04e9: i2c_start */
0x049e7e00,
0x0d11f400,
0x0004b27e,
0xf40611f4,
/* 0x04fa: i2c_start_rep */
0x00032e0e,
0x00046a7e,
0x847e0103,
0x76bb0004,
0x0465b600,
0x659450f9,
0x0256bb04,
0x75fd50bd,
0x7e50fc04,
0xb60004d1,
0xb60004c6,
0x11f40464,
0x13884e17,
/* 0x0525: i2c_start_send */
0x7e00031d,
0x4e000484,
0x5d7e1388,
0x00030000,
0x00046a7e,
0x7e13884e,
/* 0x053f: i2c_start_out */
0xf800005d,
/* 0x0541: i2c_stop */
0x7e000300,
0x0300046a,
0x04847e00,
0x03e84e00,
0x00005d7e,
0x757e0003,
0x6a7e0103,
0x884e0004,
0x005d7e13,
/* 0x05b9: i2c_bitw_out */
/* 0x05bb: i2c_bitr */
0x0300f800,
0x048f7e01,
0x03e84e00,
0x00005d7e,
0xb60076bb,
0x50f90465,
0xbb046594,
0x50bd0256,
0xfc0475fd,
0x04d17e50,
0x0464b600,
0x7e1a11f4,
0x030004bd,
0x04757e00,
0x13884e00,
0x00005d7e,
0xf4013cf0,
/* 0x05fe: i2c_bitr_done */
0x00f80131,
/* 0x0600: i2c_get_byte */
0x08040005,
/* 0x0604: i2c_get_byte_next */
0xbb0154b6,
0x7e010300,
0x4e000484,
0x5d7e1388,
0x00f80000,
/* 0x0570: i2c_bitw */
0x0004847e,
0x7e03e84e,
0xbb00005d,
0x65b60076,
0x9450f904,
0x56bb0465,
0xfd50bd02,
0x50fc0475,
0x0005bb7e,
0x0004c67e,
0xf40464b6,
0x53fd2a11,
0x0142b605,
0x03d81bf4,
0x0076bb01,
0x884e1711,
0x005d7e13,
0x7e000300,
0x4e00046a,
0x5d7e1388,
/* 0x05ae: i2c_bitw_out */
0x00f80000,
/* 0x05b0: i2c_bitr */
0x847e0103,
0xe84e0004,
0x005d7e03,
0x0076bb00,
0xf90465b6,
0x04659450,
0xbd0256bb,
0x0475fd50,
0x7b7e50fc,
0x64b60005,
/* 0x064d: i2c_get_byte_done */
/* 0x064f: i2c_put_byte */
0x0400f804,
/* 0x0651: i2c_put_byte_next */
0x0142b608,
0xbb3854ff,
0x65b60076,
0x9450f904,
0x56bb0465,
0xfd50bd02,
0x50fc0475,
0x00057b7e,
0xf40464b6,
0x46b03411,
0xd81bf400,
0xc67e50fc,
0x64b60004,
0x1a11f404,
0x0004b27e,
0x6a7e0003,
0x884e0004,
0x005d7e13,
0x013cf000,
/* 0x05f3: i2c_bitr_done */
0xf80131f4,
/* 0x05f5: i2c_get_byte */
0x04000500,
/* 0x05f9: i2c_get_byte_next */
0x0154b608,
0xb60076bb,
0x50f90465,
0xbb046594,
0x50bd0256,
0xfc0475fd,
0x05bb7e50,
0x05b07e50,
0x0464b600,
0xbb0f11f4,
0x36b00076,
0x061bf401,
/* 0x06a7: i2c_put_byte_done */
0xf80132f4,
/* 0x06a9: i2c_addr */
0x0076bb00,
0xf90465b6,
0x04659450,
0xbd0256bb,
0x0475fd50,
0xf47e50fc,
0x64b60004,
0x2911f404,
0x012ec3e7,
0xfd0134b6,
0x76bb0553,
0xfd2a11f4,
0x42b60553,
0xd81bf401,
0x76bb0103,
0x0465b600,
0x659450f9,
0x0256bb04,
0x75fd50bd,
0x7e50fc04,
0xb600064f,
/* 0x06ee: i2c_addr_done */
0xb6000570,
/* 0x0642: i2c_get_byte_done */
0x00f80464,
/* 0x06f0: i2c_acquire_addr */
0xb6f8cec7,
0xe0b705e4,
0x00f8d014,
/* 0x06fc: i2c_acquire */
0x0006f07e,
0x0000047e,
0x7e03d9f0,
0xf800002e,
/* 0x070d: i2c_release */
0x06f07e00,
0x00047e00,
0x03daf000,
0x00002e7e,
/* 0x071e: i2c_recv */
0x32f400f8,
0xf8c1c701,
0xb00214b6,
0x1ff52816,
0x13b80137,
0x98000bd4,
0x13b80032,
0x98000bac,
0x31f40031,
0xf9d0f902,
0xf1d0f9e0,
0xf1000067,
0x92100063,
0x76bb0167,
0x0465b600,
0x659450f9,
0x0256bb04,
0x75fd50bd,
0x7e50fc04,
0xb60006fc,
0xd0fc0464,
0xf500d6b0,
0x0500b01b,
0x0076bb00,
0xf90465b6,
0x04659450,
0xbd0256bb,
0x0475fd50,
0xa97e50fc,
0x64b60006,
0xcc11f504,
0xe0c5c700,
/* 0x0644: i2c_put_byte */
/* 0x0646: i2c_put_byte_next */
0x42b60804,
0x3854ff01,
0xb60076bb,
0x50f90465,
0xbb046594,
0x50bd0256,
0xfc0475fd,
0x064f7e50,
0x05707e50,
0x0464b600,
0x00a911f5,
0x76bb0105,
0xb03411f4,
0x1bf40046,
0x0076bbd8,
0xf90465b6,
0x04659450,
0xbd0256bb,
0x0475fd50,
0xb07e50fc,
0x64b60005,
0x0f11f404,
0xb00076bb,
0x1bf40136,
0x0132f406,
/* 0x069c: i2c_put_byte_done */
/* 0x069e: i2c_addr */
0x76bb00f8,
0x0465b600,
0x659450f9,
0x0256bb04,
0x75fd50bd,
0x7e50fc04,
0xb60006a9,
0x11f50464,
0x76bb0087,
0xb60004e9,
0x11f40464,
0x2ec3e729,
0x0134b601,
0xbb0553fd,
0x65b60076,
0x9450f904,
0x56bb0465,
0xfd50bd02,
0x50fc0475,
0x0006447e,
/* 0x06e3: i2c_addr_done */
0xf80464b6,
/* 0x06e5: i2c_acquire_addr */
0xf8cec700,
0xb705e4b6,
0xf8d014e0,
/* 0x06f1: i2c_acquire */
0x06e57e00,
0x00047e00,
0x03d9f000,
0x00002e7e,
/* 0x0702: i2c_release */
0xe57e00f8,
0x047e0006,
0xdaf00000,
0x002e7e03,
/* 0x0713: i2c_recv */
0xf400f800,
0xc1c70132,
0x0214b6f8,
0xf52816b0,
0xb801371f,
0x000bd413,
0xb8003298,
0x000bac13,
0xf4003198,
0xd0f90231,
0xd0f9e0f9,
0x000067f1,
0x100063f1,
0xbb016792,
0x65b60076,
0x9450f904,
0x56bb0465,
0xfd50bd02,
0x50fc0475,
0x0006f17e,
0xfc0464b6,
0x00d6b0d0,
0x00b01bf5,
0x76bb0005,
0x0465b600,
0x659450f9,
0x0256bb04,
0x75fd50bd,
0x7e50fc04,
0xb6000600,
0x11f40464,
0xe05bcb67,
0xb60076bb,
0x50f90465,
0xbb046594,
0x50bd0256,
0xfc0475fd,
0x054c7e50,
0x0464b600,
0x74bd5bb2,
/* 0x0823: i2c_recv_not_rd08 */
0xb0410ef4,
0x1bf401d6,
0x7e00053b,
0xf40006a9,
0xc5c73211,
0x064f7ee0,
0x2811f400,
0xa97e0005,
0xb600069e,
0x11f50464,
0xc5c700cc,
0x0076bbe0,
0xf90465b6,