1. 29 10月, 2015 1 次提交
    • R
      drm/i915/kbl: Introduce Kabylake platform defition. · ef11bdb3
      Rodrigo Vivi 提交于
      Kabylake is a Intel® Processor containing Intel® HD Graphics
      following Skylake.
      
      It is Gen9p5, so it inherits everything from Skylake.
      
      Let's start by adding the platform separated from Skylake
      but reusing most of all features, functions etc. Later we
      rebase the PCI-ID patch without is_skylake=1
      so we don't replace what original Author did there.
      
      Few IS_SKYLAKEs if statements are not being covered by this patch
      on purpose:
         - Workarounds: Kabylake is derivated from Skylake H0 so no
           		  W/As apply here.
         - GuC: A following patch removes Kabylake support with an
           	  explanation: No firmware available yet.
         - DMC/CSR: Done in a separated patch since we need to be carefull
           	      and load the version for revision 7 since
      	      Kabylake is Skylake H0.
      
      v2: relative cleaner commit message and added the missed
          IS_KABYLAKE to intel_i2c.c as pointed out by Jani.
      
      Cc: Jani Nikula <jani.nikula@intel.com>
      Signed-off-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Signed-off-by: NJani Nikula <jani.nikula@intel.com>
      ef11bdb3
  2. 22 10月, 2015 6 次提交
  3. 21 10月, 2015 2 次提交
  4. 20 10月, 2015 1 次提交
    • M
      drm/i915/skl: Eliminate usage of pipe_wm_parameters from SKL-style WM (v4) · 024c9045
      Matt Roper 提交于
      Just pull the info out of the state structures rather than staging
      it in an additional set of structures.  To make this more
      straightforward, we change the signature of several internal WM
      functions to take the crtc state as a parameter.
      
      v2:
       - Don't forget to skip cursor planes on a loop in the DDB allocation
         function to match original behavior.  (Ander)
       - Change a use of intel_crtc->active to cstate->active.  They should
         be identical, but it's better to be consistent.  (Ander)
       - Rework more function signatures to pass states rather than crtc for
         consistency. (Ander)
      
      v3:
        - Add missing "+ 1" to skl_wm_plane_id()'s 'overlay' case. (Maarten)
        - Packed formats should pass '0' to drm_format_plane_cpp(), not 1.
          (Maarten)
        - Drop unwanted WARN_ON() for disabled planes when calculating data
          rate for SKL.  (Maarten)
      
      v4:
       - Don't include cursor plane in total relative data rate calculation;
         we've already handled the cursor allocation earlier.
       - Fix 'bytes_per_pixel' calculation braindamage.  Somehow I hardcoded
         the NV12 format as a parameter rather than the actual
         fb->pixel_format, and even then still managed to get the format plane
         wrong.  (Ville)
       - Use plane->state->fb rather than plane->fb in
         skl_allocate_pipe_ddb(); the plane->fb pointer isn't updated until
         after we've done our watermark recalculation, so it has stale
         values.  (Bob Paauwe)
      Signed-off-by: NMatt Roper <matthew.d.roper@intel.com>
      Reviewed-by(v3): Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Cc: Paauwe, Bob J <bob.j.paauwe@intel.com>
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
      References: http://lists.freedesktop.org/archives/intel-gfx/2015-September/077060.html
      References: http://lists.freedesktop.org/archives/intel-gfx/2015-October/077721.html
      Smoke-tested-by(v4): Paulo Zanoni <paulo.r.zanoni@intel.com> (SKL)
      Link: http://patchwork.freedesktop.org/patch/61968/
      024c9045
  5. 13 10月, 2015 2 次提交
  6. 09 10月, 2015 1 次提交
  7. 07 10月, 2015 1 次提交
  8. 06 10月, 2015 1 次提交
  9. 30 9月, 2015 18 次提交
  10. 23 9月, 2015 7 次提交