logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>

i915_sw_fence.patch (682B)


  1. SPDX-FileCopyrightText: 2024 Gábor Stefanik <netrolller.3d@gmail.com>
  2. SPDX-License-Identifier: GPL-2.0-only
  3. Neuter the __i915_sw_fence_call define, which our gcc can't understand
  4. --- linux-4.14.336/drivers/gpu/drm/i915/i915_sw_fence.h.bak 2024-02-15 12:21:07.758127759 +0100
  5. +++ linux-4.14.336/drivers/gpu/drm/i915/i915_sw_fence.h 2024-02-15 12:22:04.498124232 +0100
  6. @@ -37,7 +37,7 @@
  7. typedef int (*i915_sw_fence_notify_t)(struct i915_sw_fence *,
  8. enum i915_sw_fence_notify state);
  9. -#define __i915_sw_fence_call __aligned(4)
  10. +#define __i915_sw_fence_call /* __aligned(4) */
  11. void __i915_sw_fence_init(struct i915_sw_fence *fence,
  12. i915_sw_fence_notify_t fn,