1. 29 7月, 2015 1 次提交
  2. 14 7月, 2015 1 次提交
  3. 30 6月, 2015 2 次提交
  4. 24 6月, 2015 1 次提交
    • D
      drm/i915/drrs: Restrict buffer tracking to the DRRS pipe · c1d038c6
      Daniel Vetter 提交于
      The current code tracks business across all pipes, but we're only
      really interested in the one pipe DRRS is enabled on. Fairly tiny
      optimization, but something I noticed while reading the code. But it
      might matter a bit when e.g. showing a video or something only on the
      external screen, while the panel is kept static.
      
      Also regroup the code slightly: First compute new bitmasks, then take
      appropriate actions.
      
      Cc: Ramalingam C <ramalingam.c@intel.com>
      Cc: Sivakumar Thulasimani <sivakumar.thulasimani@intel.com>
      Reviewed-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@intel.com>
      c1d038c6
  5. 22 6月, 2015 1 次提交
  6. 18 6月, 2015 1 次提交
    • V
      drm/i915/bxt: eDP Panel Power sequencing · b0a08bec
      Vandana Kannan 提交于
      Changes for BXT - added a IS_BROXTON check to use the macro related to PPS
      registers for BXT.
      BXT does not have PP_DIV register. Making changes to handle this.
      Second set of PPS registers have been defined but will be used when VBT
      provides a selection between the 2 sets of registers.
      
      v2:
      [Jani] Added 2nd set of PPS registers and the macro
      Jani's review comments
      	- remove reference in i915_suspend.c
      	- Use BXT PP macro
      Squashing all PPS related patches into one.
      
      v3: Jani's review comments addressed
      	- Use pp_ctl instead of pp
      	- ironlake_get_pp_control() is not required for BXT
      	- correct the use of && in the print statement
      	- drop the shift in the print statement
      
      v4: Jani's comments
      	- modify ironlake_get_pp_control() - dont set unlock key for bxt
      
      v5: Sonika's comments addressed
      	- check alignment
      	- move pp_ctrl_reg write (after ironlake_get_pp_control())
      	to !IS_BROXTON case.
      	- check before subtracting 1 for t11_t12
      Signed-off-by: NVandana Kannan <vandana.kannan@intel.com>
      Signed-off-by: NA.Sunil Kamath <sunil.kamath@intel.com>
      Reviewed-by: NSonika Jindal <sonika.jindal@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      b0a08bec
  7. 15 6月, 2015 1 次提交
  8. 12 6月, 2015 1 次提交
  9. 03 6月, 2015 1 次提交
  10. 01 6月, 2015 1 次提交
  11. 29 5月, 2015 2 次提交
  12. 28 5月, 2015 2 次提交
  13. 22 5月, 2015 4 次提交
  14. 20 5月, 2015 4 次提交
  15. 08 5月, 2015 10 次提交
  16. 07 5月, 2015 1 次提交
  17. 06 5月, 2015 1 次提交
  18. 16 4月, 2015 5 次提交
    • T
      drm/i915: Add a delay in Displayport AUX transactions for compliance testing · 74ebf294
      Todd Previte 提交于
      The Displayport Link Layer Compliance Testing Specification 1.2 rev 1.1
      specifies that repeated AUX transactions after a failure (no response /
      invalid response) must have a minimum delay of 400us before the resend can
      occur. Tests 4.2.1.1 and 4.2.1.2 are two tests that require this specifically.
      
      Also, the check for DP_AUX_CH_CTL_TIME_OUT_ERROR has been moved out into a
      separate case. This case just continues with the next iteration of the loop
      as the HW has already waited the required amount of time.
      
      V2:
      - Changed udelay() to usleep_range()
      V3:
      - Removed extraneous check for timeout
      - Updated comment to reflect this change
      V4:
      - Reformatted a comment
      V5:
      - Added separate check for HW timeout on AUX transactions. A message
        is logged upon detection of this case.
      V6:
      - Add continue statement to HW timeout detect case
      - Remove the log message indicating a timeout has been
        detected (review feedback)
      V7:
      - Updated the commit message to remove verbage about the HW timeout
        case that is no longer valid.
      Signed-off-by: NTodd Previte <tprevite@gmail.com>
      Reviewed-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      74ebf294
    • T
      drm/i915: Add automated testing support for Displayport compliance testing · c5d5ab7a
      Todd Previte 提交于
      Add the skeleton framework for supporting automation for Displayport compliance
      testing. This patch adds the necessary framework for the source device to
      appropriately respond to test automation requests from a sink device.
      
      V2:
      - Addressed previous mailing list feedback
      - Fixed compilation issue (struct members declared in a later patch)
      - Updated debug messages to be more accurate
      - Added status checks for the DPCD read/write calls
      - Removed excess comments and debug messages
      - Fixed debug message compilation warnings
      - Fixed compilation issue with missing variables
      - Updated link training autotest to ACK
      
      V3:
      - Fixed the checks on the DPCD return code to be <= 0
        rather than != 0
      - Removed extraneous assignment of a NAK return code in the
        DPCD read failure case
      - Changed the return in the DPCD read failure case to a goto
        to the exit point where the status code is written to the sink
      - Removed FAUX test case since it's deprecated now
      - Removed the compliance flag assignment in handle_test_request
      
      V4:
      - Moved declaration of type_type here
      - Removed declaration of test_data (moved to a later patch)
      - Added reset to 0 for compliance test variables
      
      V5:
      - Moved test_active variable declaration and initialization out of
        this patch and into the patch where it's used
      - Changed variable name compliance_testing_active to
        compliance_test_active to unify the naming convention
      - Added initialization for compliance_test_type variable
      Signed-off-by: NTodd Previte <tprevite@gmail.com>
      Reviewed-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      c5d5ab7a
    • D
      drm/i915/dp: Remove intel_ prefix from hw signal_levels functions · 5829975c
      Daniel Vetter 提交于
      intel_ is for generic code bxt_ and friends for platform specific
      functions. Remove the intel_ prefix to be consistent with our naming.
      
      Random OCD bikeshed I've spotted while merging bxt patches.
      
      v2: Oops, git add fail.
      
      Cc: Imre Deak <imre.deak@intel.com>
      Reviewed-by: NImre Deak <imre.deak@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@intel.com>
      5829975c
    • V
      drm/i915/bxt: Update max level of vswing · 9314726b
      Vandana Kannan 提交于
      Broxton supports 3 voltage swing levels on all DP ports.
      Max level of pre-emphasis will be taken care with the existing code.
      
      v2: Patch rebased
      
      v3: (imre)
      - keep existing behavior for other platforms
      - clarify commit message
      
      Signed-off-by: Vandana Kannan <vandana.kannan@intel.com> (v2)
      Signed-off-by: NImre Deak <imre.deak@intel.com>
      Reviewed-by: NSivakumar Thulasimani <sivakumar.thulasimani@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      9314726b
    • V
      drm/i915/bxt: VSwing programming sequence · 96fb9f9b
      Vandana Kannan 提交于
      VSwing programming sequence as specified in the updated BXT BSpec
      
      v2: Satheesh's review comments addressed.
      - clear value before setting into registers
      - move print statement to bxt function
      Other changes
      - since signal level will not be set into DDI_BUF_CTL, the value need
        not be returned to intel_dp_set_signal_levels(). Making the bxt
        specific function to return void and setting signal_levels = 0 for
        bxt inside intel_dp_set_signal_levels()
      - instead of signal levels, printing vswing level and pre-emphasis
        level
      - in case none of the pre-emphasis levels or vswing levels are set,
        setting default of 400mV + 0dB
      
      v3: Satheesh's review comments
      - Check for mask before printing signal_levels.
      - Removing redundant register writes
      - Call intel_prepare_ddi_buffers only for HAS_PCH_SPLIT
      - Making register write part generic as it will be required for HDMI as
        well.
      
      Re-structure the code to include an array for vswing related values, set
      signal levels
      
      v4: Satheesh's review comments
      - Rebase over latest renaming patches
      - use hsw_signal_levels for HAS_DDI
      Other changes
      - Modified vswing_sequence() func definition
      - Rebased on top of register macro definitions
      
      v5: Satheesh's review comments
      - Check ddi translation table size
      
      v6: Imre's review comments
      - removed comments in vswing sequence
      - added vswing, pre-emphasis prints in intel_dp_set_signal_levels
      - added comment explaining use of DP vswing values for eDP
      - initialize n_entries and ddi_transaltion table based on encoder type
      - create bxt_ddi_buf_trans structure and use decimal values
      - adding a flag in bxt buffer translation table to indicate def entry
      
      v7: (imre)
      - squash in Vandana's "VSwing register definition",
        "HDMI VSwing programming", "Re-enable vswing programming",
        "Fix vswing sequence" patches
      - use BXT_PORT_* regs directly instead of via a temp var
      - simplify BXT_PORT_* macro definitions
      - add code comment why we read lane while write group registers
      - fix readout of DP_TRAIN_PRE_EMPHASIS in debug message
      
      Signed-off-by: Vandana Kannan <vandana.kannan@intel.com> (v6)
      Signed-off-by: NImre Deak <imre.deak@intel.com>
      Reviewed-by: NSivakumar Thulasimani <sivakumar.thulasimani@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      96fb9f9b