Skip to content
  1. Nov 30, 2023
  2. Nov 29, 2023
  3. Nov 22, 2023
  4. Nov 20, 2023
  5. Nov 18, 2023
  6. Nov 17, 2023
    • Daniele Ceraolo Spurio's avatar
      drm/i915/huc: Stop printing about unsupported HuC on MTL · d3715a64
      Daniele Ceraolo Spurio authored
      
      
      On MTL, the HuC is only supported on the media GT, so our validation
      check on the module parameter detects an inconsistency on the root GT
      (the modparams asks to enable HuC, but the support is not there) and
      prints the following info message:
      
      [drm] GT0: Incompatible option enable_guc=3 - HuC is not supported!
      
      This can be confusing to the user and make them think that something is
      wrong when it isn't, so we need to silence it.
      Given that any platform that supports HuC also supports GuC, if a user
      tries to enable HuC on a platform that really doesn't support it they'll
      already see a message about GuC not being supported, so instead of just
      silencing the HuC message on newer platforms we can just get rid of it
      entirely.
      
      Signed-off-by: default avatarDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
      Cc: John Harrison <john.c.harrison@intel.com>
      Reviewed-by: default avatarJohn Harrison <John.C.Harrison@Intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20231109235436.2349963-1-daniele.ceraolospurio@intel.com
      d3715a64
  7. Nov 16, 2023
  8. Nov 10, 2023
  9. Nov 09, 2023
    • Sam James's avatar
      drm: i915: Adapt to -Walloc-size · bae9fca9
      Sam James authored
      
      
      GCC 14 introduces a new -Walloc-size included in -Wextra which errors out
      like:
      ```
      drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c: In function ‘eb_copy_relocations’:
      drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:1681:24: error: allocation of insufficient size ‘1’ for type ‘struct drm_i915_gem_relocation_entry’ with size ‘32’ [-Werror=alloc-size]
       1681 |                 relocs = kvmalloc_array(size, 1, GFP_KERNEL);
            |                        ^
      
      ```
      
      So, just swap the number of members and size arguments to match the prototype, as
      we're initialising 1 element of size `size`. GCC then sees we're not
      doing anything wrong.
      
      Signed-off-by: default avatarSam James <sam@gentoo.org>
      Reviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
      Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20231107215538.1891359-1-sam@gentoo.org
      bae9fca9
  10. Nov 08, 2023
  11. Nov 07, 2023
  12. Nov 06, 2023
  13. Nov 03, 2023
  14. Nov 02, 2023
  15. Oct 31, 2023
  16. Oct 30, 2023
  17. Oct 29, 2023