nouveau: NV4c ctx ucode.
Seems we already have a nv4c_ctx_init() somehow, a quick check shows the ucode matches it still.main
parent
ae883c97ad
commit
81eaff44c4
|
@ -1584,6 +1584,37 @@ static uint32_t nv4a_ctx_voodoo[] = {
|
||||||
0x00600009, 0x00700005, 0x00700006, 0x0060000e, ~0
|
0x00600009, 0x00700005, 0x00700006, 0x0060000e, ~0
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static uint32_t nv4c_ctx_voodoo[] = {
|
||||||
|
0x00400889, 0x00200000, 0x0060000a, 0x00200000, 0x00300000, 0x00800001,
|
||||||
|
0x00700009, 0x0060000e, 0x00400d64, 0x00400d05, 0x00409065, 0x00409406,
|
||||||
|
0x0040a168, 0x0040198f, 0x00200001, 0x0060000a, 0x00700080, 0x00104042,
|
||||||
|
0x00200001, 0x0060000a, 0x00700000, 0x001040c5, 0x00401826, 0x00401968,
|
||||||
|
0x0060000d, 0x00200000, 0x0060000a, 0x00700000, 0x00106000, 0x00700080,
|
||||||
|
0x004020e6, 0x007000a0, 0x00500060, 0x00200001, 0x0060000a, 0x0011814d,
|
||||||
|
0x00110158, 0x00105401, 0x0020003a, 0x00100051, 0x001040c5, 0x0010c1c4,
|
||||||
|
0x001041c9, 0x0010c1dc, 0x00150210, 0x0012c225, 0x00108238, 0x0010823e,
|
||||||
|
0x001242c0, 0x00200040, 0x00100280, 0x00128100, 0x00128120, 0x00128143,
|
||||||
|
0x0011415f, 0x0010815c, 0x0010c140, 0x00104029, 0x00110400, 0x00104d10,
|
||||||
|
0x0010427e, 0x001046ec, 0x00500060, 0x00404187, 0x0060000d, 0x00407ae6,
|
||||||
|
0x002000f2, 0x0060000a, 0x00148653, 0x00104668, 0x0010c66d, 0x00120682,
|
||||||
|
0x0011068b, 0x00168691, 0x001046ae, 0x001046b0, 0x001206b4, 0x001046c4,
|
||||||
|
0x001146c6, 0x00200020, 0x001006cc, 0x001046ed, 0x001246f0, 0x002000c0,
|
||||||
|
0x00100700, 0x0010c3d7, 0x001043e1, 0x00500060, 0x00200234, 0x0060000a,
|
||||||
|
0x00104800, 0x00108901, 0x00104910, 0x00124920, 0x0020001f, 0x00100940,
|
||||||
|
0x00140965, 0x00148a00, 0x00108a14, 0x00140b00, 0x00134b2c, 0x0010cd00,
|
||||||
|
0x0010cd04, 0x00104d08, 0x00104d80, 0x00104e00, 0x0012d600, 0x00105c00,
|
||||||
|
0x00104f06, 0x002002c0, 0x0060000a, 0x00300000, 0x00200080, 0x00407300,
|
||||||
|
0x00200084, 0x00800001, 0x00200508, 0x0060000a, 0x00201320, 0x0040798a,
|
||||||
|
0xfffffaf8, 0x00800029, 0x00408a00, 0x00600006, 0x004086e6, 0x00700080,
|
||||||
|
0x0020007a, 0x0060000a, 0x00104280, 0x002002c0, 0x0060000a, 0x00200004,
|
||||||
|
0x00800001, 0x00700000, 0x00200000, 0x0060000a, 0x00106002, 0x0040a168,
|
||||||
|
0x00700000, 0x00200000, 0x0060000a, 0x00106002, 0x00700080, 0x00400a68,
|
||||||
|
0x00500060, 0x00600007, 0x00409488, 0x0060000f, 0x00500060, 0x00200000,
|
||||||
|
0x0060000a, 0x00700000, 0x00106001, 0x00910880, 0x00901ffe, 0x01940000,
|
||||||
|
0x00200020, 0x0060000b, 0x00500069, 0x0060000c, 0x00402168, 0x0040a306,
|
||||||
|
0x0040a405, 0x00600009, 0x00700005, 0x00700006, 0x0060000e, ~0
|
||||||
|
};
|
||||||
|
|
||||||
static uint32_t nv4e_ctx_voodoo[] = {
|
static uint32_t nv4e_ctx_voodoo[] = {
|
||||||
0x00400889, 0x00200000, 0x0060000a, 0x00200000, 0x00300000, 0x00800001,
|
0x00400889, 0x00200000, 0x0060000a, 0x00200000, 0x00300000, 0x00800001,
|
||||||
0x00700009, 0x0060000e, 0x00400d64, 0x00400d05, 0x00409565, 0x00409a06,
|
0x00700009, 0x0060000e, 0x00400d64, 0x00400d05, 0x00409565, 0x00409a06,
|
||||||
|
@ -1648,6 +1679,7 @@ nv40_graph_init(struct drm_device *dev)
|
||||||
case 0x49: ctx_voodoo = nv49_4b_ctx_voodoo; break;
|
case 0x49: ctx_voodoo = nv49_4b_ctx_voodoo; break;
|
||||||
case 0x4a: ctx_voodoo = nv4a_ctx_voodoo; break;
|
case 0x4a: ctx_voodoo = nv4a_ctx_voodoo; break;
|
||||||
case 0x4b: ctx_voodoo = nv49_4b_ctx_voodoo; break;
|
case 0x4b: ctx_voodoo = nv49_4b_ctx_voodoo; break;
|
||||||
|
case 0x4c: ctx_voodoo = nv4c_ctx_voodoo; break;
|
||||||
case 0x4e: ctx_voodoo = nv4e_ctx_voodoo; break;
|
case 0x4e: ctx_voodoo = nv4e_ctx_voodoo; break;
|
||||||
default:
|
default:
|
||||||
DRM_ERROR("Unknown ctx_voodoo for chipset 0x%02x\n",
|
DRM_ERROR("Unknown ctx_voodoo for chipset 0x%02x\n",
|
||||||
|
|
Loading…
Reference in New Issue