Skip to contentSkip to conversation

FIXME: drm/i915: More display ugly wa needed after rebase

PATCH New Rodrigo Vivi 2 participants 2 messages Sep 29, 2023

Subsystems (3)
lore
Share & tools
lore

Rodrigo Vivi

author maintainer
#0 lore raw

PATCH 1/1 FIXME: drm/i915: More display ugly wa needed after rebase

---

This is an information on a new FIXME hack that is getting into the tree after we complete the rebase on drm-tip.

Also this patch is needeed:
("drm/i915: Abstract display info away during probe")
https://patchwork.freedesktop.org/series/124474/

As well as a local fixup to:
75: f1e2775bd1c4 ! 551: ed3617c0414c FIXME: drm/i915: xe dpt integration

    @@ drivers/gpu/drm/i915/display/intel_fb.c: int intel_framebuffer_init(struct intel
                        }
                }
      
    --          fb->obj[i] = &obj->base;
    ++#ifdef I915
    +           fb->obj[i] = &obj->base;
    ++#else
     +          fb->obj[i] = &obj->ttm.base;
    ++#endif
        }

Thanks,
Rodrigo.

 drivers/gpu/drm/i915/display/intel_fb.c          | 2 +-
 drivers/gpu/drm/i915/display/intel_frontbuffer.c | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)
drivers/gpu/drm/i915/display/intel_fb.c +1 -1
index 8492a2be5b1a..b7ca195ffa65 100644
@@ -1939,6 +1939,7 @@ struct frontbuffer_fence_cb {
 	struct intel_frontbuffer *front;
 };
 
+#ifdef I915
 static void intel_user_framebuffer_fence_wake(struct dma_fence *dma,
 					      struct dma_fence_cb *data)
 {
@@ -1949,7 +1950,6 @@ static void intel_user_framebuffer_fence_wake(struct dma_fence *dma,
 	dma_fence_put(dma);
 }
 
-#ifdef I915
 static int intel_user_framebuffer_dirty(struct drm_framebuffer *fb,
 					struct drm_file *file,
 					unsigned int flags, unsigned int color,
drivers/gpu/drm/i915/display/intel_frontbuffer.c +2 -0
index a76e562e24b8..4c28b663ec04 100644
@@ -208,7 +208,9 @@ static void intel_frontbuffer_flush_work(struct work_struct *work)
 	struct intel_frontbuffer *front =
 		container_of(work, struct intel_frontbuffer, flush_work);
 
+#ifdef I915
 	i915_gem_object_flush_if_display(front->obj);
+#endif
 	intel_frontbuffer_flush(front, ORIGIN_DIRTYFB);
 	intel_frontbuffer_put(front);
 }
Signature · 1 line
2.41.0
#1 lore raw

[Intel-xe] ✗ CI.Patch_applied: failure for FIXME: drm/i915: More display ugly wa needed after rebase

== Series Details ==

== Series Details ==

Series: FIXME: drm/i915: More display ugly wa needed after rebase
URL : https://patchwork.freedesktop.org/series/124475/
State : failure

== Summary ==

=== Applying kernel patches on branch 'drm-xe-next' with base: === Base commit: 22fcf2404 drm/xe: timeout needs to be a signed value === git am output follows ===
error: patch failed: drivers/gpu/drm/i915/display/intel_fb.c:1939
error: drivers/gpu/drm/i915/display/intel_fb.c: patch does not apply
error: patch failed: drivers/gpu/drm/i915/display/intel_frontbuffer.c:208
error: drivers/gpu/drm/i915/display/intel_frontbuffer.c: patch does not apply
hint: Use 'git am --show-current-patch' to see the failed patch
Applying: FIXME: drm/i915: More display ugly wa needed after rebase Patch failed at 0001 FIXME: drm/i915: More display ugly wa needed after rebase When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".