Lines Matching refs:script
103 NV_INFO(drm, "0x%04X: Parsing digital output script table\n",
112 static int call_lvds_manufacturer_script(struct drm_device *dev, struct dcb_output *dcbent, int head, enum LVDS_script script)
116 uint8_t sub = bios->data[bios->fp.xlated_entry + script] + (bios->fp.link_c_increment && dcbent->or & DCB_OUTPUT_C ? 1 : 0);
124 if (script == LVDS_PANEL_OFF) {
130 if (script == LVDS_RESET &&
139 static int run_lvds_table(struct drm_device *dev, struct dcb_output *dcbent, int head, enum LVDS_script script, int pxclk)
145 * selecting the init script when not using straps; 4 script pointers
149 * of a list of pxclks and script pointers.
161 switch (script) {
204 NV_ERROR(drm, "LVDS output init script not found\n");
212 int call_lvds_script(struct drm_device *dev, struct dcb_output *dcbent, int head, enum LVDS_script script, int pxclk)
227 if (bios->fp.last_script_invoc == (script << 1 | head) || !lvds_ver ||
228 (lvds_ver >= 0x30 && script == LVDS_INIT))
236 if (script == LVDS_PANEL_ON && bios->fp.reset_after_pclk_change)
238 if (script == LVDS_RESET && bios->fp.power_off_for_reset)
241 NV_INFO(drm, "Calling LVDS script %d:\n", script);
243 /* don't let script change pll->head binding */
247 ret = call_lvds_manufacturer_script(dev, dcbent, head, script);
249 ret = run_lvds_table(dev, dcbent, head, script, pxclk);
251 bios->fp.last_script_invoc = (script << 1 | head);
509 * EXTDEV_BOOT. Each record had a config byte, followed by 6 script
549 * It seems the old style lvds script pointer is reused
670 NV_ERROR(drm, "TMDS output init script not found\n");
674 /* don't let script change pll->head binding */
686 * Parses the init table segment for pointers used in script execution.
688 * offset + 0 (16 bits): init script tables pointer
919 * At offset +7 is a pointer to a script, which I don't know how to
921 * At offset +9 is a pointer to another script, likewise
923 * frequency and the second word a pointer to a script, which should be
927 * The selection of table (and possibly +7/+9 script) is dictated by
959 NV_WARN(drm, "TMDS table script pointers not stubbed\n");
1054 * offset + 18: init script table pointer (for bios versions < 5.10h)
1055 * offset + 20: extra init script table pointer (for bios
1073 * offset + 75: script table pointers, as described in
2104 /* init script execution disabled */