1. 08 4月, 2019 1 次提交
  2. 04 4月, 2019 5 次提交
  3. 02 4月, 2019 2 次提交
    • T
      drm/i915: Introduce concept of a sub-platform · 805446c8
      Tvrtko Ursulin 提交于
      Concept of a sub-platform already exist in our code (like ULX and ULT
      platform variants and similar),implemented via the macros which check a
      list of device ids to determine a match.
      
      With this patch we consolidate device ids checking into a single function
      called during early driver load.
      
      A few low bits in the platform mask are reserved for sub-platform
      identification and defined as a per-platform namespace.
      
      At the same time it future proofs the platform_mask handling by preparing
      the code for easy extending, and tidies the very verbose WARN strings
      generated when IS_PLATFORM macros are embedded into a WARN type
      statements.
      
      v2: Fixed IS_SUBPLATFORM. Updated commit msg.
      v3: Chris was right, there is an ordering problem.
      
      v4:
       * Catch-up with new sub-platforms.
       * Rebase for RUNTIME_INFO.
       * Drop subplatform mask union tricks and convert platform_mask to an
         array for extensibility.
      
      v5:
       * Fix subplatform check.
       * Protect against forgetting to expand subplatform bits.
       * Remove platform enum tallying.
       * Add subplatform to error state. (Chris)
       * Drop macros and just use static inlines.
       * Remove redundant IRONLAKE_M. (Ville)
      
      v6:
       * Split out Ironlake change.
       * Optimize subplatform check.
       * Use __always_inline. (Lucas)
       * Add platform_mask comment. (Paulo)
       * Pass stored runtime info in error capture. (Chris)
      
      v7:
       * Rebased for new AML ULX device id.
       * Bump platform mask array size for EHL.
       * Stop mentioning device ids in intel_device_subplatform_init by using
         the trick of splitting macros i915_pciids.h. (Jani)
       * AML seems to be either a subplatform of KBL or CFL so express it like
         that.
      
      v8:
       * Use one device id table per subplatform. (Jani)
      Signed-off-by: NTvrtko Ursulin <tvrtko.ursulin@intel.com>
      Suggested-by: NChris Wilson <chris@chris-wilson.co.uk>
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Cc: Jani Nikula <jani.nikula@intel.com>
      Cc: Lucas De Marchi <lucas.demarchi@intel.com>
      Cc: Jose Souza <jose.souza@intel.com>
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
      Reviewed-by: NChris Wilson <chris@chris-wilson.co.uk>
      Acked-by: NJani Nikula <jani.nikula@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190327142328.31780-1-tvrtko.ursulin@linux.intel.com
      805446c8
    • T
      drm/i915: Split Pineview device info into desktop and mobile · 86d35d4e
      Tvrtko Ursulin 提交于
      This allows the IS_PINEVIEW_<G|M> macros to be removed and avoid
      duplication of device ids already defined in i915_pciids.h.
      
      !IS_MOBILE check can be used in place of existing IS_PINEVIEW_G call
      sites.
      Signed-off-by: NTvrtko Ursulin <tvrtko.ursulin@intel.com>
      Suggested-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Reviewed-by: NChris Wilson <chris@chris-wilson.co.uk>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190326074057.27833-2-tvrtko.ursulin@linux.intel.com
      86d35d4e
  4. 23 3月, 2019 2 次提交
  5. 20 3月, 2019 1 次提交
  6. 15 3月, 2019 2 次提交
  7. 08 3月, 2019 1 次提交
    • J
      drm/i915/icl: Remove alpha support protection · 2909bf05
      José Roberto de Souza 提交于
      Now with the watermarks fixes merged, Icelake is stable enough to
      have the alpha support protection flag removed.
      
      We have a few ICL machines in our CI and it is mostly green with
      failures in tests that will not impact future linux installations.
      Also there is no warnings, errors, flickering or any visual defects
      while doing ordinary tasks like browsing and editing documents in a
      dual monitor setup.
      
      As a reminder i915.alpha_support was created to protect
      future linux installation's iso images that might contain a
      kernel from the enabling time of the new platform. Without this
      protection most of linux installation was recommending
      nomodeset option during installation that was getting stick
      there after installation.
      
      Specifically, alpha support says nothing about the development
      state of the hardware, and everything about the state of the
      driver in a kernel release.
      
      This is semantically no different from the old
      preliminary_hw_support flag, but the old one was all too often
      interpreted as (preliminary hw) support instead of the intended
      (preliminary) hw support, and it was misleading for everyone.
      Hence the rename.
      
      Reference: https://intel-gfx-ci.01.org/tree/drm-tip/fi-icl-y.html
      Reference: https://intel-gfx-ci.01.org/tree/drm-tip/shard-iclb.html
      Cc: James Ausmus <james.ausmus@intel.com>
      Cc: Jani Saarinen <jani.saarinen@intel.com>
      Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
      Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Cc: Jani Nikula <jani.nikula@intel.com>
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: NJosé Roberto de Souza <jose.souza@intel.com>
      Reviewed-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190305221153.359-1-jose.souza@intel.com
      2909bf05
  8. 07 3月, 2019 1 次提交
  9. 06 3月, 2019 1 次提交
  10. 28 2月, 2019 1 次提交
  11. 13 2月, 2019 2 次提交
  12. 06 2月, 2019 2 次提交
  13. 01 2月, 2019 1 次提交
  14. 31 1月, 2019 1 次提交
  15. 24 1月, 2019 1 次提交
  16. 03 1月, 2019 1 次提交
  17. 31 12月, 2018 1 次提交
  18. 04 12月, 2018 1 次提交
  19. 21 11月, 2018 1 次提交
  20. 15 11月, 2018 1 次提交
  21. 02 11月, 2018 1 次提交
    • J
      drm/i915: remove palette_offsets from device info in favor of _PICK() · 74c1e826
      Jani Nikula 提交于
      The device info offset arrays for unevenly spaced register offsets is
      great for widely used registers. However, the palette registers are only
      used in one function, i9xx_load_luts_internal(), and only for GMCH
      platforms, wasting device info. Replace palette_offsets with _PICK() in
      palette register definition.
      
      While the use of _PICK() does not check for pipe C existence, neither
      does the current offset array usage, and leads to bogus address when
      pipe C is passed to PALETTE() on non-CHV. Using _PICK() at least leads
      to a sensible register offset, just non-existing on non-CHV. Either way,
      this shouldn't happen anyway.
      
      Remove unused old palette macros while at it.
      
      Bloat-o-meter results below for completeness.
      
      add/remove: 0/0 grow/shrink: 3/6 up/down: 94/-278 (-184)
      Function                                     old     new   delta
      i9xx_load_luts_internal                      394     483     +89
      i915_driver_load                            5103    5107      +4
      g4x_pre_enable_dp                            378     379      +1
      intel_engines_init_mmio                     1117    1116      -1
      intel_engine_lookup_user                      47      46      -1
      hdmi_port_clock_valid                        310     309      -1
      gen11_irq_handler                            707     706      -1
      intel_device_info_dump_runtime               329     311     -18
      intel_device_info_runtime_init              5166    4910    -256
      Total: Before=918650, After=918466, chg -0.02%
      
      add/remove: 0/0 grow/shrink: 0/48 up/down: 0/-576 (-576)
      Data                                         old     new   delta
      intel_valleyview_info                        200     188     -12
      intel_skylake_gt4_info                       200     188     -12
      intel_skylake_gt3_info                       200     188     -12
      intel_skylake_gt2_info                       200     188     -12
      intel_skylake_gt1_info                       200     188     -12
      intel_sandybridge_m_gt2_info                 200     188     -12
      intel_sandybridge_m_gt1_info                 200     188     -12
      intel_sandybridge_d_gt2_info                 200     188     -12
      intel_sandybridge_d_gt1_info                 200     188     -12
      intel_pineview_info                          200     188     -12
      intel_kabylake_gt3_info                      200     188     -12
      intel_kabylake_gt2_info                      200     188     -12
      intel_kabylake_gt1_info                      200     188     -12
      intel_ivybridge_q_info                       200     188     -12
      intel_ivybridge_m_gt2_info                   200     188     -12
      intel_ivybridge_m_gt1_info                   200     188     -12
      intel_ivybridge_d_gt2_info                   200     188     -12
      intel_ivybridge_d_gt1_info                   200     188     -12
      intel_ironlake_m_info                        200     188     -12
      intel_ironlake_d_info                        200     188     -12
      intel_icelake_11_info                        200     188     -12
      intel_i965gm_info                            200     188     -12
      intel_i965g_info                             200     188     -12
      intel_i945gm_info                            200     188     -12
      intel_i945g_info                             200     188     -12
      intel_i915gm_info                            200     188     -12
      intel_i915g_info                             200     188     -12
      intel_i865g_info                             200     188     -12
      intel_i85x_info                              200     188     -12
      intel_i845g_info                             200     188     -12
      intel_i830_info                              200     188     -12
      intel_haswell_gt3_info                       200     188     -12
      intel_haswell_gt2_info                       200     188     -12
      intel_haswell_gt1_info                       200     188     -12
      intel_gm45_info                              200     188     -12
      intel_geminilake_info                        200     188     -12
      intel_g45_info                               200     188     -12
      intel_g33_info                               200     188     -12
      intel_coffeelake_gt3_info                    200     188     -12
      intel_coffeelake_gt2_info                    200     188     -12
      intel_coffeelake_gt1_info                    200     188     -12
      intel_cherryview_info                        200     188     -12
      intel_cannonlake_info                        200     188     -12
      intel_broxton_info                           200     188     -12
      intel_broadwell_rsvd_info                    200     188     -12
      intel_broadwell_gt3_info                     200     188     -12
      intel_broadwell_gt2_info                     200     188     -12
      intel_broadwell_gt1_info                     200     188     -12
      Total: Before=195529, After=194953, chg -0.29%
      
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Reviewed-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: NJani Nikula <jani.nikula@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20181031110453.12722-1-jani.nikula@intel.com
      74c1e826
  22. 22 10月, 2018 2 次提交
  23. 12 10月, 2018 1 次提交
  24. 02 10月, 2018 1 次提交
  25. 27 9月, 2018 2 次提交
  26. 18 8月, 2018 1 次提交
  27. 07 8月, 2018 2 次提交
  28. 01 8月, 2018 1 次提交