1. 26 1月, 2017 4 次提交
    • M
      drm/i915: Add support for DP Video pattern compliance tests · 611032bf
      Manasi Navare 提交于
      The intel_dp_autotest_video_pattern() function gets invoked through the
      compliance test handler on a HPD short pulse if the test type is
      set to DP_TEST_VIDEO_PATTERN. This performs the DPCD registers
      reads to read the requested test pattern, video pattern resolution,
      frame rate and bits per color value. The results of this analysis
      are handed off to userspace so that the userspace app can set the
      video pattern mode appropriately for the test result/response.
      When the  test is requested with specific BPC value, we read the BPC
      value from the DPCD register. If this BPC value in intel_dp structure
      has a non-zero value and we're on a display port connector, then we use
      the value to calculate the bpp for the pipe. Also in this case if its
      a 18bpp video pattern request, then we force the dithering on pipe to be
      disabled since it causes CRC mismatches.
      
      The compliance_test_active flag is set at the end of the individual
      test handling functions. This is so that the kernel-side operations
      can be completed without the risk of interruption from the userspace
      app that is polling on that flag.
      
      v5:
      * Remove test_result variable
      * Populate the compliance test data at the end of the function (Jani Nikula)
      v4:
      *Return TEST_NAK on read failures and invalid values (Jani Nikula)
      * Address CRC mismatch errors
      v3:
      * Use the updated properly shifted bit definitions (Jani Nikula)
      * Force dithering to be disabled on 18bpp compliance
      test request (Manasi Navare)
      v2:
      * Updated the DPCD Register reads based on proper defines in header (Jani Nikula)
      * Squahsed the patch that forced the pipe bpp to compliance test bpp (Jani Nikula)
      Signed-off-by: NManasi Navare <manasi.d.navare@intel.com>
      Cc: Jani Nikula <jani.nikula@linux.intel.com>
      Cc: Daniel Vetter <daniel.vetter@intel.com>
      Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
      Signed-off-by: NJani Nikula <jani.nikula@intel.com>
      Link: http://patchwork.freedesktop.org/patch/msgid/1485274909-17470-1-git-send-email-manasi.d.navare@intel.com
      611032bf
    • M
      drm/i915: Fixes to support DP Compliance EDID tests · b48a5ba9
      Manasi Navare 提交于
      This patch addresses a few issues from the original patch for
      DP Compliance EDID test support submitted by
      Todd Previte<todd.previte@gmail.com>
      
      Video Mode requested in the EDID test handler for the EDID Read
      test (CTS 4.2.2.3) should be set to PREFERRED as per the CTS spec.
      
      v2:
      * Added read debugfs data from test_data.edid if its EDID test (Jani NIkula)
      Signed-off-by: NManasi Navare <manasi.d.navare@intel.com>
      Cc: Jani Nikula <jani.nikula@linux.intel.com>
      Cc: Daniel Vetter <daniel.vetter@intel.com>
      Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
      Signed-off-by: NJani Nikula <jani.nikula@intel.com>
      Link: http://patchwork.freedesktop.org/patch/msgid/1484968170-12467-3-git-send-email-manasi.d.navare@intel.com
      b48a5ba9
    • M
      drm/i915: Add support for DP link training compliance · da15f7cb
      Manasi Navare 提交于
      This patch adds support to handle automated DP compliance
      link training test requests. This patch has been tested with
      Unigraf DPR-120 DP Compliance device for testing Link
      Training Compliance.
      After we get a short pulse Compliance test request, test
      request values are read and hotplug uevent is sent in order
      to trigger another modeset during which the pipe is configured
      and link is retrained and enabled for link parameters requested
      by the test.
      
      v5:
      * Only modify the compliance structure after all validation
      is done (Jani Nikula)
      * Remove the variable test_result (Jani Nikula)
      v4:
      * Return TEST_NAK for read failures and invalid
      values (Jani Nikula)
      * Conver the test link BW to link rate before storing (Jani Nikula)
      v3:
      * Validate the test link rate and lane count as soon as
      the request comes (Jani Nikula)
      v2:
      * Validate the test lane count before using it in
      intel_dp_compute_config (Jani Nikula)
      Signed-off-by: NManasi Navare <manasi.d.navare@intel.com>
      Cc: Jani Nikula <jani.nikula@linux.intel.com>
      Cc: Daniel Vetter <daniel.vetter@intel.com>
      Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
      Signed-off-by: NJani Nikula <jani.nikula@intel.com>
      Link: http://patchwork.freedesktop.org/patch/msgid/1485274594-17361-1-git-send-email-manasi.d.navare@intel.com
      da15f7cb
    • C
      drm/i915: Remove early pre-production RPS workarounds for BXT · 1c044f9b
      Chris Wilson 提交于
      Remove WaGsvDisableTurbo and WaRsUseTimeoutMode as these were only for
      pre-production Broxton devices, and this code is now defunct.
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Cc: Mika Kuoppala <mika.kuoppala@intel.com>
      Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Reviewed-by: NJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
      1c044f9b
  2. 25 1月, 2017 6 次提交
  3. 24 1月, 2017 8 次提交
  4. 23 1月, 2017 18 次提交
  5. 21 1月, 2017 4 次提交