1. 23 Sep, 2015 24 commits
  2. 22 Sep, 2015 5 commits
  3. 21 Sep, 2015 1 commit
  4. 18 Sep, 2015 3 commits
  5. 17 Sep, 2015 2 commits
  6. 14 Sep, 2015 5 commits
    • Sagar Arun Kamble's avatar
      drm/i915: Fix fb object's frontbuffer-bits · d1b9d039
      Sagar Arun Kamble authored
      Shared frontbuffer bits are causing warnings when same FB is displayed
      in another plane without clearing the bits from previous plane.
      
      v2: Removing coversion of fb bits to 64 bit as it is not needed for now. (Daniel)
      
      Change-Id: Ic2df80747f314b82afd22f8326297c57d1e652c6
      Signed-off-by: default avatarSagar Arun Kamble <sagar.a.kamble@intel.com>
      Signed-off-by: default avatarKumar, Mahesh <mahesh1.kumar@intel.com>
      [danvet: Drop INTEL_FRONTBUFFER_SPRITE_MASK since unused.]
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      d1b9d039
    • Robert Beckett's avatar
      drm/i915/gen9: WA ST Unit Power Optimization Disable · 6b6d5626
      Robert Beckett authored
      WaDisableSTUnitPowerOptimization:skl,bxt
      Signed-off-by: default avatarRobert Beckett <robert.beckett@intel.com>
      Signed-off-by: default avatarArun Siluvery <arun.siluvery@linux.intel.com>
      Reviewed-by: default avatarSagar Arun Kamble <sagar.a.kamble@intel.com>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      6b6d5626
    • Ville Syrjälä's avatar
      drm/i915: Set stolen reserved to 0 for pre-g4x platforms · d7884d69
      Ville Syrjälä authored
      This stolen reserved stuff was introduced on g4x, so no need to waste
      stolen on older platforms. Unfortunately configdb is no more so I can't
      look up the right way to detect this stuff. I do have one hint as to
      where the register might be on ctg, but I don't have a ctg to test it,
      and on the elk I have here it doesn't contain sensible looking data.
      For ilk grits suggegsts it might be in the same place as on snb (the
      original PCI reg, not the mirror) but I can't be entirely sure about it
      The register shows a round zero on my ilk.
      
      So when there's no really good data for any of these platforms leave the
      current "assume 1MiB" approach in place.
      
      Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
      Acked-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      d7884d69
    • Masanari Iida's avatar
      drm/i915: Fix warnings while make xmldocs caused by intel_lrc.c · 374887ba
      Masanari Iida authored
      This patch fix following warnings while "make xmldocs".
      .//drivers/gpu/drm/i915/intel_lrc.c:780: warning: No description
      found for parameter 'req'
      .//drivers/gpu/drm/i915/intel_lrc.c:780: warning: Excess function
       parameter 'request' description in 'intel_logical_ring_begin'
      .//drivers/gpu/drm/i915/intel_lrc.c:780: warning: Excess function
       parameter 'ctx' description in 'intel_logical_ring_begin'
      Signed-off-by: default avatarMasanari Iida <standby24x7@gmail.com>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      374887ba
    • Nick Hoath's avatar
      drm/i915: Split alloc from init for lrc · e84fe803
      Nick Hoath authored
      Extend init/init_hw split to context init.
         - Move context initialisation in to i915_gem_init_hw
         - Move one off initialisation for render ring to
              i915_gem_validate_context
         - Move default context initialisation to logical_ring_init
      
      Rename intel_lr_context_deferred_create to
      intel_lr_context_deferred_alloc, to reflect reduced functionality &
      alloc/init split.
      
      This patch is intended to split out the allocation of resources &
      initialisation to allow easier reuse of code for resume/gpu reset.
      
      v2: Removed function ptr wrapping of do_switch_context (Daniel Vetter)
          Left ->init_context int intel_lr_context_deferred_alloc
          (Daniel Vetter)
          Remove unnecessary init flag & ring type test. (Daniel Vetter)
          Improve commit message (Daniel Vetter)
      v3: On init/reinit, set the hw next sequence number to the sw next
          sequence number. This is set to 1 at driver load time. This prevents
          the seqno being reset on reinit (Chris Wilson)
      v4: Set seqno back to ~0 - 0x1000 at start-of-day, and increment by 0x100
          on reset.
          This makes it obvious which bbs are which after a reset. (David Gordon
          & John Harrison)
          Rebase.
      v5: Rebase. Fixed rebase breakage. Put context pinning in separate
          function. Removed code churn. (Thomas Daniel)
      v6: Cleanup up issues introduced in v2 & v5 (Thomas Daniel)
      
      Issue: VIZ-4798
      Signed-off-by: default avatarNick Hoath <nicholas.hoath@intel.com>
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Cc: John Harrison <john.c.harrison@intel.com>
      Cc: David Gordon <david.s.gordon@intel.com>
      Cc: Thomas Daniel <thomas.daniel@intel.com>
      Reviewed-by: default avatarThomas Daniel <thomas.daniel@intel.com>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      e84fe803