1. 08 12月, 2016 2 次提交
    • H
      drm/i915/dsi: Fix swapping of MIPI_SEQ_DEASSERT_RESET / MIPI_SEQ_ASSERT_RESET · 2b8208ac
      Hans de Goede 提交于
      Looking at the ADF code from the Android kernel sources for a
      cherrytrail tablet I noticed that it is calling the
      MIPI_SEQ_ASSERT_RESET sequence from the panel prepare hook.
      
      Until commit b1cb1bd2 ("drm/i915/dsi: update reset and power sequences
      in panel prepare/unprepare hooks") the mainline i915 code was doing the
      same. That commits effectively swaps the calling of MIPI_SEQ_ASSERT_RESET /
      MIPI_SEQ_DEASSERT_RESET.
      
      Looking at the naming of the sequences that is the right thing to do,
      but the problem is, that the old mainline code and the ADF code was
      actually calling the right sequence (tested on a cube iwork8 air tablet),
      and the swapping of the calling breaks things.
      
      This breakage was likely not noticed in testing because on cherrytrail,
      currently chv_exec_gpio ends up disabling the gpio pins rather then
      setting them (this is fixed in the next patch in this patch-set).
      
      This commit fixes the swapping by fixing MIPI_SEQ_ASSERT/DEASSERT_RESET's
      places in the enum defining them, so that their (new) names match their
      actual use.
      
      Changes in v2:
      -Add a comment to the enum explaining that the assert/reassert names
       are swapped in the spec
      
      Fixes: b1cb1bd2 ("drm/i915/dsi: update reset and power sequences...")
      Cc: Jani Nikula <jani.nikula@intel.com>
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Acked-by: NJani Nikula <jani.nikula@intel.com>
      Link: http://patchwork.freedesktop.org/patch/msgid/20161202150128.29871-1-hdegoede@redhat.comSigned-off-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      2b8208ac
    • R
      drm/i915/perf: use DRM_DEBUG for userspace issues · 7708550c
      Robert Bragg 提交于
      Avoid using DRM_ERROR for conditions userspace can trigger with a bad
      config when opening a stream or from not reading data in a timely
      fashion (whereby the OA buffer fills up). These conditions are tested
      by i-g-t which treats error messages as failures if using the test
      runner. This wasn't an issue while the i915-perf igt tests were being
      run in isolation.
      
      One message relating to seeing a spurious zeroed report was changed to
      use DRM_NOTE instead of DRM_ERROR. Ideally this warning shouldn't be
      seen, but it's not a serious problem if it is. Considering that the
      tail margin mechanism is only a heuristic it's possible we might see
      this from time to time.
      
      Signed-off-by: Robert Bragg <robert@sixbynine.org:
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      Link: http://patchwork.freedesktop.org/patch/msgid/20161201172152.10893-1-robert@sixbynine.org
      7708550c
  2. 07 12月, 2016 10 次提交
  3. 06 12月, 2016 9 次提交
  4. 05 12月, 2016 19 次提交