1. 14 Nov, 2013 2 commits
    • Ben Widawsky's avatar
      drm/i915/bdw: GEN8 backlight support · f8e10062
      Ben Widawsky authored
      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: default avatarBen Widawsky <ben@bwidawsk.net>
      Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      f8e10062
    • Ben Widawsky's avatar
      drm/i915/bdw: Add BDW to ULT macro · 5dd8c4c3
      Ben Widawsky authored
      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: default avatarBen Widawsky <ben@bwidawsk.net>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      5dd8c4c3
  2. 13 Nov, 2013 7 commits
  3. 11 Nov, 2013 1 commit
  4. 10 Nov, 2013 5 commits
    • Dave Airlie's avatar
      Merge branch 'gma500-next' of git://github.com/patjak/drm-gma500 into drm-next · cf0613d2
      Dave Airlie authored
      SDVO support for minnowboard
      
      * 'gma500-next' of git://github.com/patjak/drm-gma500:
        drm/gma500/mrst: Add SDVO to output init
        drm/gma500/mrst: Don't blindly guess a mode for LVDS
        drm/gma500/mrst: Setup GMBUS for oaktrail/mrst
        drm/gma500/mrst: Replace WMs and chickenbits with values from EMGD
        drm/gma500/mrst: Add aux register writes to SDVO
        drm/gma500/mrst: Properly route oaktrail hdmi hooks
        drm/gma500/mrst: Add aux register writes when programming pipe
        drm/gma500/mrst: Add SDVO clock calculation
        drm/gma500: Add aux device support for gmbus
        drm/gma500: Add support for aux pci vdc device
        drm/gma500: Add chip specific sdvo masks
        drm/gma500: Add Minnowboard to the IS_MRST() macro
      cf0613d2
    • Laurent Pinchart's avatar
      drm: shmob_drm: Convert to clk_prepare/unprepare · 8d01e1ef
      Laurent Pinchart authored
      Turn clk_enable() and clk_disable() calls into clk_prepare_enable() and
      clk_disable_unprepare() to get ready for the migration to the common
      clock framework.
      
      Cc: David Airlie <airlied@linux.ie>
      Cc: dri-devel@lists.freedesktop.org
      Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      8d01e1ef
    • Dave Airlie's avatar
      Merge tag 'bdw-stage1-2013-11-08-v2' of... · ab0169bb
      Dave Airlie authored
      Merge tag 'bdw-stage1-2013-11-08-v2' of git://people.freedesktop.org/~danvet/drm-intel into drm-next
      
      So here's the Broadwell pull request. From a kernel driver pov there's
      two areas with big changes in Broadwell:
      - Completely new enumerated interrupt bits. On the plus side it now looks
        fairly unform and sane.
      - Completely new pagetable layout.
      
      To ensure minimal impact on existing platforms we've refactored both the
      irq and low-level gtt handling code a lot in anticipation of the bdw push.
      So now bdw enabling in these areas just plugs in a bunch of vfuncs.
      
      Otherwise it's all fairly harmless adjusting of switch cases and
      if-ladders to shovel bdw into the right blocks. So minimized impact on
      existing platforms. I've also merged the bdw-stage1 branch into our
      -nightly integration branch for the past week to make sure we don't break
      anything.
      
      Note that there's still quite a flurry or patches floating around, but
      I've figured I'll push this out. I plan to keep the bdw fixes separate
      from my usual -fixes stream so that you can reject them easily in case it
      still looks like too much churn. Also, bdw is for now hidden behind the
      preliminary hw enabling module option. So there's no real pressure to get
      follow-up patches all into 3.13.
      
      * tag 'bdw-stage1-2013-11-08-v2' of git://people.freedesktop.org/~danvet/drm-intel: (75 commits)
        drm/i915: Mask the vblank interrupt on bdw by default
        drm/i915: Wire up cpu fifo underrun reporting support for bdw
        drm/i915: Optimize gen8_enable|disable_vblank functions
        drm/i915: Wire up pipe CRC support for bdw
        drm/i915: Wire up PCH interrupts for bdw
        drm/i915: Wire up port A aux channel
        drm/i915: Fix up the bdw pipe interrupt enable lists
        drm/i915: Optimize pipe irq handling on bdw
        drm/i915/bdw: Take render error interrupt out of the mask
        drm/i915/bdw: Add BDW PCH check first
        drm/i915: Use hsw_crt_get_config on BDW
        drm/i915/bdw: Change dp aux timeout to 600us on DDIA
        drm/i915/bdw: Enable trickle feed on Broadwell
        drm/i915/bdw: WaSingleSubspanDispatchOnAALinesAndPoints
        drm/i915/bdw: conservative SBE VUE cache mode
        drm/i915/bdw: Limit SDE poly depth FIFO to 2
        drm/i915/bdw: Sampler power bypass disable
        ddrm/i915/bdw: Disable centroid pixel perf optimization
        drm/i915/bdw: BWGTLB clock gate disable
        drm/i915/bdw: Implement edp PSR workarounds
        ...
      ab0169bb
    • Dave Airlie's avatar
      Merge branch 'drm-next-3.13' of git://people.freedesktop.org/~agd5f/linux into drm-next · 8d0a2215
      Dave Airlie authored
      A few more patches for 3.13.  The big one here is Hawaii support.
      I wanted to get that out sooner, but was sick earlier this week.  That
      said, it's mostly self contained, so it shouldn't impact other asics.
      The rest are just bug fixes and a merge fix.
      
      * 'drm-next-3.13' of git://people.freedesktop.org/~agd5f/linux: (23 commits)
        Revert "drm/radeon/audio: don't set speaker allocation on DCE4+"
        drm/radeon/audio: improve ACR calculation
        drm/radeon/audio: correct ACR table
        drm/radeon: fix mismerge of drm-next with 3.12
        drm/radeon: add pci ids for hawaii
        drm/radeon: fill in radeon_asic_init for hawaii
        drm/radeon: modesetting updates for hawaii
        drm/radeon: atombios.h updates for hawaii
        drm/radeon: update cik_get_csb_buffer for hawaii
        drm/radeon: add hawaii dpm support
        drm/radeon/cik: add hawaii UVD support
        drm/radeon: update firmware loading for hawaii
        drm/radeon: update rb setup for hawaii
        drm/radeon: add golden register settings for hawaii
        drm/radeon: update cik_tiling_mode_table_init() for hawaii
        drm/radeon: minor updates to cik.c for hawaii
        drm/radeon: update cik_gpu_init() for hawaii
        drm/radeon: add Hawaii chip family
        drm/radeon: fix-up some float to fixed conversion thinkos
        drm/radeon: use HDP_MEM_COHERENCY_FLUSH_CNTL for sdma as well
        ...
      8d0a2215
    • Dave Airlie's avatar
      Merge branch 'msm-next' of git://people.freedesktop.org/~robclark/linux into drm-next · c4b3a81f
      Dave Airlie authored
      prime support, inactive rework, render nodes
      * 'msm-next' of git://people.freedesktop.org/~robclark/linux:
        drm/msm/mdp4: page_flip cleanups/fixes
        drm/msm: EBUSY status handling in msm_gem_fault()
        drm/msm: rework inactive-work
        drm/msm: add plane support
        drm/msm: resync generated headers
        drm/msm: support render nodes
        drm/msm: prime support
      c4b3a81f
  5. 09 Nov, 2013 1 commit
  6. 08 Nov, 2013 24 commits