From 82358e1d1da935ac7b7921d2b8db769d744c9f06 Mon Sep 17 00:00:00 2001 From: Sharpened Blade Date: Mon, 6 May 2024 23:18:07 -0700 Subject: [PATCH] Fix drm test errors on 6.8.5 (#26) * 1014: Attempt to remove extra args * 1014: Attempt to fix undefined variable --- ...drm-format-helper-add-helper-for-BGR888-to-XRGB8888-.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/1014-drm-format-helper-add-helper-for-BGR888-to-XRGB8888-.patch b/1014-drm-format-helper-add-helper-for-BGR888-to-XRGB8888-.patch index 6d4c2ab..ace5b4d 100644 --- a/1014-drm-format-helper-add-helper-for-BGR888-to-XRGB8888-.patch +++ b/1014-drm-format-helper-add-helper-for-BGR888-to-XRGB8888-.patch @@ -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);