Skip to content

Commit

Permalink
Fix drm test errors on 6.8.5 (#26)
Browse files Browse the repository at this point in the history
* 1014: Attempt to remove extra args

* 1014: Attempt to fix undefined variable
  • Loading branch information
sharpenedblade authored May 7, 2024
1 parent 7801744 commit 82358e1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,15 +200,15 @@ 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 */
+ memset(buf, 0, dst_size);
+
+ 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);
Expand Down

0 comments on commit 82358e1

Please sign in to comment.