Lines Matching defs:on

41 static void intel_crtc_update_cursor(struct drm_crtc *crtc, bool on);
434 * Returns whether any output on the specified pipe is of the specified type
474 /* XXX: We may need to be checking "Dot clock" depending on the multiplier,
494 * For LVDS just rely on its current settings for dual-channel.
555 * For LVDS just rely on its current settings for dual-channel.
630 /* based on hardware requirement prefer smaller n to precision */
632 /* based on hardware requirement prefer larger m1,m2 */
681 /* based on hardware requirement, prefer smaller n to precision */
689 /* based on hardware requirement, prefer bigger m1,m2 values */
749 * intel_wait_for_vblank - wait for vblank on a given pipe
753 * Wait for vblank to occur on a given pipe. Needed for various bits of
774 * should *not* be performing page flips and thus not waiting on
795 * spinning on the vblank interrupt status bit, since we won't actually
887 return enabled ? "on" : "off";
1058 /* if we need the pipe A quirk it must be always on */
1102 /* Planes are fixed to pipes on ILK+ */
1119 DRM_ERROR("plane %c assertion failure, should be off on pipe %c but is still active\n",
1136 DRM_ERROR("sprite %c assertion failure, should be off on pipe %c but is still active\n",
1143 DRM_ERROR("sprite %c assertion failure, should be off on pipe %c but is still active\n",
1149 DRM_ERROR("sprite %c assertion failure, should be off on pipe %c but is still active\n",
1182 DRM_ERROR("transcoder assertion failed, should be off on pipe %c but is still active\n",
1256 DRM_ERROR("PCH DP (0x%08x) enabled on transcoder %c, should be disabled\n",
1269 DRM_ERROR("PCH HDMI (0x%08x) enabled on transcoder %c, should be disabled\n",
1290 DRM_ERROR("PCH VGA enabled on transcoder %c, should be disabled\n",
1296 DRM_ERROR("PCH LVDS enabled on transcoder %c, should be disabled\n",
1315 * Unfortunately needed by dvo_ns2501 since the dvo depends on it running.
1365 /* Make sure the pipe isn't still relying on us */
1402 /* PCH PLLs only available on ILK, SNB and IVB */
1413 DRM_DEBUG_KMS("enable %s (active %d, on? %d)for crtc %d\n",
1414 pll->name, pll->active, pll->on,
1418 WARN_ON(!pll->on);
1422 WARN_ON(pll->on);
1426 pll->on = true;
1434 /* PCH only available on ILK+ */
1446 DRM_DEBUG_KMS("disable %s (active %d, on? %d) for crtc %d\n",
1447 pll->name, pll->active, pll->on,
1456 WARN_ON(!pll->on);
1462 pll->on = false;
1473 /* PCH only available on ILK+ */
1526 /* PCH only available on ILK+ */
1558 /* FDI relies on the transcoder */
1603 * @pch_port: on ILK+, is this pipe driving a PCH port or not
1710 * intel_enable_plane - enable a display plane on a given pipe
1715 * Enable @plane on @pipe, making sure that @pipe is running first.
2122 * MI_WAIT_FOR_EVENT inside a user batch buffer on the
2672 /* Enable CPU FDI TX PLL, always on for Ironlake */
3040 WARN_ON(pll->on);
3042 if (pll->on || pll->active)
3111 WARN_ON(pll->on);
3255 * There seems to be a race in PCH platform hw (at least on some
3265 /* IPS only exists on ULT machines and is tied to pipe A. */
3362 * There seems to be a race in PCH platform hw (at least on some
3378 /* To avoid upsetting the power well on haswell only disable the pfit if
3479 /* FBC must be disabled before disabling the plane on HSW. */
3541 /* Let userspace switch the overlay on again. In most cases userspace
3676 /* Give the overlay scaler a chance to enable if it's on this pipe */
3715 /* Give the overlay scaler a chance to disable if it's on this pipe */
3905 DRM_ERROR("encoder active on the wrong pipe\n");
3952 DRM_DEBUG_KMS("checking fdi config on pipe %c, lanes %i\n",
3955 DRM_DEBUG_KMS("invalid fdi lane config on pipe %c: %i lanes\n",
3962 DRM_DEBUG_KMS("only 2 lanes on haswell, required: %i lanes\n",
3980 DRM_DEBUG_KMS("invalid shared fdi lane config on pipe %c: %i lanes\n",
3989 DRM_DEBUG_KMS("invalid shared fdi lane config on pipe %c: %i lanes\n",
4432 /* Disable target IRef on PLL */
4447 * Post divider depends on pixel clock rate, DAC vs digital (and LVDS,
4730 * documented on the DDI_FUNC_CTL register description, EDP Input Select
4794 * XXX: No double-wide on 915GM pipe B. Is that the only reason for the
5016 /* Note that on i915G/GM the pixel multiplier is in the sdvo
5119 /* SSC must be turned on before enabling the CPU output */
5121 DRM_DEBUG_KMS("Using SSC on panel\n");
5133 /* Enable CPU source on CPU attached eDP */
5136 DRM_DEBUG_KMS("Using SSC on eDP\n");
5866 /* We currently do not free assignements of panel fitters on
6036 * the PCH transcoder is on.
6218 DRM_DEBUG_DRIVER("ELD on pipe %c\n", pipe_name(pipe));
6286 DRM_DEBUG_DRIVER("ELD on pipe %c\n", pipe_name(pipe));
6292 /* operate blindly on all ports */
6297 DRM_DEBUG_DRIVER("ELD on port %c\n", port_name(i));
6347 DRM_DEBUG_DRIVER("ELD on [CONNECTOR:%d:%s], [ENCODER:%d:%s]\n",
6370 /* The clocks have to be on to load the palette. */
6454 /* and commit changes on next vblank */
6481 /* and commit changes on next vblank */
6485 /* If no-part of the cursor is visible on the framebuffer, then the GPU may hang... */
6487 bool on)
6500 if (on && crtc->enabled && crtc->fb) {
6671 /** Sets the color ramps on behalf of RandR */
6707 /* VESA 640x480x72Hz mode to set on the pipe */
6823 * sure it's on first)
6879 * We can not rely on the fbcon either being present (we get called
6898 DRM_DEBUG_KMS("failed to set mode on load-detect pipe\n");
7025 * i830PllIsValid() because it relies on the xf86_config connector
7411 * untested on non-native modes, so ignore it for now.
7724 /* Clamp bpp to 8 on screens without EDID 1.4 */
7869 * source plane bpp so that dithering can be selected on mismatches
8011 /* set_mode is also used to update properties on life display pipes. */
8017 * For simplicity do a full modeset on any pipe where the output routing
8186 /* pfit ratios are autocomputed by the hw on gen4+ */
8373 if(pll->active && !pll->on)
8374 DRM_DEBUG_KMS("pll in active use but not on in sw tracking\n");
8375 if(pll->on && !pll->active)
8376 DRM_DEBUG_KMS("pll in on but not on in use in sw tracking\n");
8377 if(pll->on != active)
8378 DRM_DEBUG_KMS("pll on state mismatch (expected %i, found %i)\n",
8379 pll->on, active);
8395 if(pll->on && memcmp(&pll->hw_state, &dpll_hw_state,
8433 /* Hack: Because we don't (yet) support global modeset on multiple
8463 /* mode_set/enable/disable functions rely on a correct pipe
8476 * on the DPLL.
8685 * the connector is on the changing crtc but not on the new
8825 DRM_DEBUG_KMS("failed to set mode on [CRTC:%d], err = %d\n",
8894 /* Make sure no transcoder isn't still depending on us. */
8963 /* Swap pipes & planes for FBC on pre-965 */
9101 /* Check for built-in panel first. Shares lanes with HDMI on SDVOC */
9118 DRM_DEBUG_KMS("probing HDMI on SDVOB\n");
9136 DRM_DEBUG_KMS("probing HDMI on SDVOC\n");
9436 * Some BIOSes insist on assuming the GPU's pipe A is enabled at suspend,
9449 * Some machines (Lenovo U160) do not work with SSC on LVDS for some reason
9496 DRM_INFO("Backlight polarity reversed on %s\n", id->ident);
9530 /* Lenovo U160 cannot use SSC on LVDS */
9533 /* Sony Vaio Y cannot use SSC on LVDS */
9688 /* We can't just switch on the pipe A, we need to set things up with a
9775 * the required bits on. */
9838 * in our code, like the register restore mess on resume. Clamp
9894 pll->on = pll->get_hw_state(dev_priv, pll, &pll->hw_state);
9903 DRM_DEBUG_KMS("%s hw state readout: refcount %i, on %i\n",
9904 pll->name, pll->refcount, pll->on);
9974 if (!pll->on || pll->active)
9980 pll->on = false;
10214 * well was on, so here we have to clear the FPGA_DBG_RM_NOCLAIM bit to