You've already forked linux-t2-patches
mirror of
https://github.com/t2linux/linux-t2-patches.git
synced 2026-04-30 13:52:11 -07:00
Fix drm test errors on 6.8.5 (#26)
* 1014: Attempt to remove extra args * 1014: Attempt to fix undefined variable
This commit is contained in:
@@ -200,7 +200,7 @@ index 08992636e..e54f0f6e7 100644
|
||||
+ * order, so there's no need to convert the test output.
|
||||
+ */
|
||||
+ drm_fb_xrgb8888_to_bgr888(&dst, &result->dst_pitch, &src, &fb, ¶ms->clip,
|
||||
+ &fmtcnv_state, true);
|
||||
+ &fmtcnv_state);
|
||||
+ KUNIT_EXPECT_MEMEQ(test, buf, result->expected, dst_size);
|
||||
+
|
||||
+ buf = dst.vaddr; /* restore original value of buf */
|
||||
@@ -208,7 +208,7 @@ index 08992636e..e54f0f6e7 100644
|
||||
+
|
||||
+ int blit_result = 0;
|
||||
+
|
||||
+ blit_result = drm_fb_blit(&dst, dst_pitch, DRM_FORMAT_BGR888, &src, &fb, ¶ms->clip,
|
||||
+ blit_result = drm_fb_blit(&dst, &result->dst_pitch, DRM_FORMAT_BGR888, &src, &fb, ¶ms->clip,
|
||||
+ &fmtcnv_state);
|
||||
+
|
||||
+ KUNIT_EXPECT_FALSE(test, blit_result);
|
||||
|
||||
Reference in New Issue
Block a user