1. 10 Jul, 2014 32 commits
  2. 09 Jul, 2014 6 commits
  3. 08 Jul, 2014 2 commits
    • Chris Wilson's avatar
      drm/i915: HWS must be in the mappable region for g33 · 1f767e02
      Chris Wilson authored
      On g33, the documentation states
      
      "HWS_PGA:
       Format = Bits 28:12 of graphics memory address (bits 31:29 MBZ)."
      
      which translates to that the address of the HWS must be below 256MiB,
      which is conveniently the mappable aperture.
      
      This also appears to be true (but not documented as so) for gen4 and
      gen5. To generalise we force it into the low mappable region for all
      non-LLC platforms. If we locate the HWS at the top of the GTT the
      machine will hard hang during boot (fails on pnv, gm45, ilk and byt,
      but works on snb, ivb, hsw).
      
      v2: Add comments to explain why use PIN_MAPPABLE even though we have
          no intention of mapping the object. (Ville)
      Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      1f767e02
    • Deepak S's avatar
      drm/i915/vlv: WA for Turbo and RC6 to work together. · 31685c25
      Deepak S authored
      With RC6 enabled, BYT has an HW issue in determining the right
      Gfx busyness.
      WA for Turbo + RC6: Use SW based Gfx busy-ness detection to decide
      on increasing/decreasing the freq. This logic will monitor C0
      counters of render/media power-wells over EI period and takes
      necessary action based on these values
      
      v2: Refactor duplicate code. (Ville)
      
      v3: Reformat the comments. (Ville)
      
      v4: Enable required counters and remove unwanted code (Ville)
      
      v5: Added frequency change acceleration support and remove kernel-doc
      style comments. (Ville)
      
      v6: Updated comment section and Fix w/a comment. (Ville)
      Signed-off-by: default avatarDeepak S <deepak.s@linux.intel.com>
      Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      31685c25