1. 24 Feb, 2015 2 commits
    • Ramalingam C's avatar
      drm/i915: Add support for DRRS in intel_dp_set_m_n · fe3cd48d
      Ramalingam C authored
      Till Gen 7 we have two sets of M_N registers, but Gen 8 onwards
      we have only one M_N register set. To support DRRS on both scenarios
      a input parameter to intel_dp_set_m_n is added.
      
      In case of DRRS, When platform provides two set of M_N registers for dp,
      we can program them with two different dividers and switch between them.
      But when only one such register set is provided, we have to program
      the required divider M_N value on that registers itself.
      
      Two enum members M1_N1 and M2_N2 are defined to represent the above
      scenarios.
      
      M1_N1        :	Program dp_m_n on M1_N1 registers
      			dp_m2_n2 on M2_N2 registers (If supported)
      
      M2_N2        :	Program dp_m2_n2 on M1_N1 registers
      			M2_N2 registers are not supported
      Signed-off-by: default avatarRamalingam C <ramalingam.c@intel.com>
      Reviewed-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      fe3cd48d
    • Thomas Daniel's avatar
      drm/i915: Shift driver's HWSP usage out of reserved range · b07da53c
      Thomas Daniel authored
      As of Gen6, the general purpose area of the hardware status page has shrunk and
      now begins at dword 0x30.  i915 driver uses dword 0x20 to store the seqno which
      is now reserved.  So shift our HWSP dwords up into the general purpose range
      before this bites us.
      
      Note that all available documentation just says this is reserved
      without going into details about what it's used for.
      Signed-off-by: default avatarThomas Daniel <thomas.daniel@intel.com>
      Reviewed-by: default avatarDave Gordon <david.s.gordon@intel.com>
      [danvet: Add clarification from Thomas that unfortunately Bspec is
      silent on what "reserverd" precisely means.]
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      b07da53c
  2. 23 Feb, 2015 20 commits
  3. 13 Feb, 2015 18 commits