1. 26 Apr, 2023 1 commit
    • John Harrison's avatar
      drm/i915/guc: Actually return an error if GuC version range check fails · 80ab3179
      John Harrison authored
      Dan Carpenter pointed out that 'err' was not being set in the case
      where the GuC firmware version range check fails. Fix that.
      
      Note that while this is a bug fix for a previous patch (see Fixes tag
      below). It is an exceedingly low risk bug. The range check is
      asserting that the GuC firmware version is within spec. So it should
      not be possible to ever have a firmware file that fails this check. If
      larger version numbers are required in the future, that would be a
      backwards breaking spec change and thus require a major version bump,
      in which case an old i915 driver would not load that new version anyway.
      
      Fixes: 9bbba066 ("drm/i915/guc: Use GuC submission API version number")
      Reported-by: default avatarDan Carpenter <error27@gmail.com>
      Signed-off-by: default avatarJohn Harrison <John.C.Harrison@Intel.com>
      Cc: John Harrison <John.C.Harrison@Intel.com>
      Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
      Cc: Alan Previn <alan.previn.teres.alexis@intel.com>
      Cc: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
      Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Cc: Matthew Brost <matthew.brost@intel.com>
      Cc: Andi Shyti <andi.shyti@linux.intel.com>
      Cc: Matthew Auld <matthew.auld@intel.com>
      Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
      Cc: Lucas De Marchi <lucas.demarchi@intel.com>
      Cc: Jani Nikula <jani.nikula@intel.com>
      Reviewed-by: default avatarAndi Shyti <andi.shyti@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20230421224742.2357198-1-John.C.Harrison@Intel.com
      80ab3179
  2. 25 Apr, 2023 4 commits
  3. 23 Apr, 2023 4 commits
  4. 21 Apr, 2023 1 commit
  5. 20 Apr, 2023 1 commit
  6. 19 Apr, 2023 4 commits
  7. 18 Apr, 2023 1 commit
  8. 15 Apr, 2023 1 commit
  9. 14 Apr, 2023 1 commit
  10. 11 Apr, 2023 5 commits
  11. 08 Apr, 2023 17 commits