| .. | .. |
|---|
| 806 | 806 | init->offset += 3; |
|---|
| 807 | 807 | |
|---|
| 808 | 808 | switch (cond) { |
|---|
| 809 | | - case 0: |
|---|
| 809 | + case 0: /* CONDITION_ID_INT_DP. */ |
|---|
| 810 | 810 | if (init_conn(init) != DCB_CONNECTOR_eDP) |
|---|
| 811 | 811 | init_exec_set(init, false); |
|---|
| 812 | 812 | break; |
|---|
| 813 | | - case 1: |
|---|
| 814 | | - case 2: |
|---|
| 813 | + case 1: /* CONDITION_ID_USE_SPPLL0. */ |
|---|
| 814 | + case 2: /* CONDITION_ID_USE_SPPLL1. */ |
|---|
| 815 | 815 | if ( init->outp && |
|---|
| 816 | 816 | (data = nvbios_dpout_match(bios, DCB_OUTPUT_DP, |
|---|
| 817 | 817 | (init->outp->or << 0) | |
|---|
| .. | .. |
|---|
| 826 | 826 | if (init_exec(init)) |
|---|
| 827 | 827 | warn("script needs dp output table data\n"); |
|---|
| 828 | 828 | break; |
|---|
| 829 | | - case 5: |
|---|
| 829 | + case 5: /* CONDITION_ID_ASSR_SUPPORT. */ |
|---|
| 830 | 830 | if (!(init_rdauxr(init, 0x0d) & 1)) |
|---|
| 831 | 831 | init_exec_set(init, false); |
|---|
| 832 | 832 | break; |
|---|
| 833 | + case 7: /* CONDITION_ID_NO_PANEL_SEQ_DELAYS. */ |
|---|
| 834 | + init_exec_set(init, false); |
|---|
| 835 | + break; |
|---|
| 833 | 836 | default: |
|---|
| 834 | | - warn("INIT_GENERIC_CONDITON: unknown 0x%02x\n", cond); |
|---|
| 837 | + warn("INIT_GENERIC_CONDITION: unknown 0x%02x\n", cond); |
|---|
| 835 | 838 | init->offset += size; |
|---|
| 836 | 839 | break; |
|---|
| 837 | 840 | } |
|---|
| .. | .. |
|---|
| 1932 | 1935 | } |
|---|
| 1933 | 1936 | |
|---|
| 1934 | 1937 | /** |
|---|
| 1938 | + * INIT_RESET_BEGUN - opcode 0x8c |
|---|
| 1939 | + * |
|---|
| 1940 | + */ |
|---|
| 1941 | +static void |
|---|
| 1942 | +init_reset_begun(struct nvbios_init *init) |
|---|
| 1943 | +{ |
|---|
| 1944 | + trace("RESET_BEGUN\n"); |
|---|
| 1945 | + init->offset += 1; |
|---|
| 1946 | +} |
|---|
| 1947 | + |
|---|
| 1948 | +/** |
|---|
| 1949 | + * INIT_RESET_END - opcode 0x8d |
|---|
| 1950 | + * |
|---|
| 1951 | + */ |
|---|
| 1952 | +static void |
|---|
| 1953 | +init_reset_end(struct nvbios_init *init) |
|---|
| 1954 | +{ |
|---|
| 1955 | + trace("RESET_END\n"); |
|---|
| 1956 | + init->offset += 1; |
|---|
| 1957 | +} |
|---|
| 1958 | + |
|---|
| 1959 | +/** |
|---|
| 1935 | 1960 | * INIT_GPIO - opcode 0x8e |
|---|
| 1936 | 1961 | * |
|---|
| 1937 | 1962 | */ |
|---|
| .. | .. |
|---|
| 2257 | 2282 | [0x79] = { init_pll }, |
|---|
| 2258 | 2283 | [0x7a] = { init_zm_reg }, |
|---|
| 2259 | 2284 | [0x87] = { init_ram_restrict_pll }, |
|---|
| 2260 | | - [0x8c] = { init_reserved }, |
|---|
| 2261 | | - [0x8d] = { init_reserved }, |
|---|
| 2285 | + [0x8c] = { init_reset_begun }, |
|---|
| 2286 | + [0x8d] = { init_reset_end }, |
|---|
| 2262 | 2287 | [0x8e] = { init_gpio }, |
|---|
| 2263 | 2288 | [0x8f] = { init_ram_restrict_zm_reg_group }, |
|---|
| 2264 | 2289 | [0x90] = { init_copy_zm_reg }, |
|---|