Skip to content

Commit

Permalink
drm/vc4: tests: Fix vc4_test_lbm_size for the size having moved
Browse files Browse the repository at this point in the history
With the LBM allocation having moved, the structure member has
changed name. Fix this.

Fixes: 9adc3dd ("drm/vc4: Assign LBM memory during atomic_flush.")
Signed-off-by: Dave Stevenson <[email protected]>
  • Loading branch information
6by9 authored and popcornmix committed Sep 28, 2023
1 parent 3d60ec8 commit 9c75e54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/vc4/tests/vc4_test_lbm_size.c
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ static void drm_vc4_test_vc4_lbm_size(struct kunit *test)
ret = drm_atomic_check_only(state);
KUNIT_ASSERT_EQ(test, ret, 0);

KUNIT_EXPECT_EQ(test, vc4_plane_state->lbm.size, params->expected_lbm_size);
KUNIT_EXPECT_EQ(test, vc4_plane_state->lbm_size, params->expected_lbm_size);

for (i = 0; i < 2; i++) {
KUNIT_EXPECT_EQ(test,
Expand Down

0 comments on commit 9c75e54

Please sign in to comment.