Lines Matching defs:error
2258 /* IVB wants error correction enabled */
2935 /* Write the TU size bits before fdi link training, so that error
10149 struct intel_display_error_state *error;
10161 error = kmalloc(sizeof(*error), GFP_ATOMIC);
10162 if (error == NULL)
10166 error->power_well_driver = I915_READ(HSW_PWR_WELL_DRIVER);
10171 error->cursor[i].control = I915_READ(CURCNTR(i));
10172 error->cursor[i].position = I915_READ(CURPOS(i));
10173 error->cursor[i].base = I915_READ(CURBASE(i));
10175 error->cursor[i].control = I915_READ(CURCNTR_IVB(i));
10176 error->cursor[i].position = I915_READ(CURPOS_IVB(i));
10177 error->cursor[i].base = I915_READ(CURBASE_IVB(i));
10180 error->plane[i].control = I915_READ(DSPCNTR(i));
10181 error->plane[i].stride = I915_READ(DSPSTRIDE(i));
10183 error->plane[i].size = I915_READ(DSPSIZE(i));
10184 error->plane[i].pos = I915_READ(DSPPOS(i));
10187 error->plane[i].addr = I915_READ(DSPADDR(i));
10189 error->plane[i].surface = I915_READ(DSPSURF(i));
10190 error->plane[i].tile_offset = I915_READ(DSPTILEOFF(i));
10193 error->pipe[i].source = I915_READ(PIPESRC(i));
10195 error->num_transcoders = INTEL_INFO(dev)->num_pipes;
10197 error->num_transcoders++; /* Account for eDP. */
10199 for (i = 0; i < error->num_transcoders; i++) {
10202 error->transcoder[i].cpu_transcoder = cpu_transcoder;
10204 error->transcoder[i].conf = I915_READ(PIPECONF(cpu_transcoder));
10205 error->transcoder[i].htotal = I915_READ(HTOTAL(cpu_transcoder));
10206 error->transcoder[i].hblank = I915_READ(HBLANK(cpu_transcoder));
10207 error->transcoder[i].hsync = I915_READ(HSYNC(cpu_transcoder));
10208 error->transcoder[i].vtotal = I915_READ(VTOTAL(cpu_transcoder));
10209 error->transcoder[i].vblank = I915_READ(VBLANK(cpu_transcoder));
10210 error->transcoder[i].vsync = I915_READ(VSYNC(cpu_transcoder));
10215 * prevent the next I915_WRITE from detecting it and printing an error
10220 return error;
10228 struct intel_display_error_state *error)
10232 if (!error)
10238 error->power_well_driver);
10241 err_printf(m, " CONF: %08x\n", error->pipe[i].conf);
10244 err_printf(m, " CNTR: %08x\n", error->plane[i].control);
10245 err_printf(m, " STRIDE: %08x\n", error->plane[i].stride);
10247 err_printf(m, " SIZE: %08x\n", error->plane[i].size);
10248 err_printf(m, " POS: %08x\n", error->plane[i].pos);
10251 err_printf(m, " ADDR: %08x\n", error->plane[i].addr);
10253 err_printf(m, " SURF: %08x\n", error->plane[i].surface);
10254 err_printf(m, " TILEOFF: %08x\n", error->plane[i].tile_offset);
10258 err_printf(m, " CNTR: %08x\n", error->cursor[i].control);
10259 err_printf(m, " POS: %08x\n", error->cursor[i].position);
10260 err_printf(m, " BASE: %08x\n", error->cursor[i].base);
10263 for (i = 0; i < error->num_transcoders; i++) {
10265 transcoder_name(error->transcoder[i].cpu_transcoder));
10266 err_printf(m, " CONF: %08x\n", error->transcoder[i].conf);
10267 err_printf(m, " HTOTAL: %08x\n", error->transcoder[i].htotal);
10268 err_printf(m, " HBLANK: %08x\n", error->transcoder[i].hblank);
10269 err_printf(m, " HSYNC: %08x\n", error->transcoder[i].hsync);
10270 err_printf(m, " VTOTAL: %08x\n", error->transcoder[i].vtotal);
10271 err_printf(m, " VBLANK: %08x\n", error->transcoder[i].vblank);
10272 err_printf(m, " VSYNC: %08x\n", error->transcoder[i].vsync);