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:
Sharpened Blade
2024-05-06 23:18:07 -07:00
committed by GitHub
parent 780174484b
commit 82358e1d1d
@@ -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, &params->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, &params->clip,
+ blit_result = drm_fb_blit(&dst, &result->dst_pitch, DRM_FORMAT_BGR888, &src, &fb, &params->clip,
+ &fmtcnv_state);
+
+ KUNIT_EXPECT_FALSE(test, blit_result);