1. 14 11月, 2013 4 次提交
    • B
      drm/i915/bdw: Free correct number of ppgtt pages · 230f955f
      Ben Widawsky 提交于
      I am unclear how this got messed up in the shuffle, but it did.
      
      Cc: Imre Deak <imre.deak@intel.com>
      Signed-off-by: NBen Widawsky <ben@bwidawsk.net>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      230f955f
    • B
      drm/i915/bdw: Do gen6 style reset for gen8 · 935e8de9
      Ben Widawsky 提交于
      This patch existed before, but was lost over time.
      
      Note that reset is still somewhat problematic in my limited testing (ie.
      module_reload will not pass) but it can be disabled with a module
      parameter, and support should be considered preliminary anyway.
      Signed-off-by: NBen Widawsky <ben@bwidawsk.net>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      935e8de9
    • B
      drm/i915/bdw: GEN8 backlight support · f8e10062
      Ben Widawsky 提交于
      Prior to Haswell the CPU control register for backlight
      (BLC_PWM_CPU_CTL) toggled the PCH baclight pin for us. This made some
      sense as there was no pin on the CPU. With Haswell came the introduction
      of a CPU backlight pin, but the interface was still controlled by
      software with the same mechnism. Behind the scenes, hardware did all the
      dirty work for us.
      
      Broadwell no longer provides this for free. If we want to use the PCH
      backlight pin [1] then we have to set the override bit BLC_PWM_PCH_CTL1
      and program BLC_PWM_PCH_CTL2 for the PWM values.
      
      This patch implements that. This patch is compile tested only, and given
      that I rarely if ever touch this code, careful review is welcome.
      
      [1] According to Art, we know of no devices that exist which use the CPU
      pin (and remember it has existed already on HSW). If such a device does
      exist, we'll have to handle it properly - this is left as TODO until
      then.
      
      v2: Drop the abstraction prep patch, as a bigger backlight overhaul is
          in the works, and do just the mimimal bdw enabling now. (by Jani)
      
      CC: Art Runyan <arthur.j.runyan@intel.com>
      Signed-off-by: NBen Widawsky <ben@bwidawsk.net>
      Signed-off-by: NJani Nikula <jani.nikula@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      f8e10062
    • B
      drm/i915/bdw: Add BDW to ULT macro · 5dd8c4c3
      Ben Widawsky 提交于
      For what we care about ULT and ULX are interchangeable. We know of 3
      types of pciids for these cases. I am not sure if at some point we will
      need to distinguish ULT and ULX.
      
      Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
      Signed-off-by: NBen Widawsky <ben@bwidawsk.net>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      5dd8c4c3
  2. 13 11月, 2013 3 次提交
  3. 12 11月, 2013 1 次提交
  4. 10 11月, 2013 2 次提交
  5. 09 11月, 2013 30 次提交