A bunch of tests verify that the pipeline created by the driver
matches an expected pipeline hard coded into the test. The below patch
added a new op into the driver's pipeline but did not update the tests
to match. So add it in.
Fixes: 6d103ad11583 ("drm/amd/display: Add fixed matrix colorop to color
pipeline")
Cc: Harry Wentland <[email protected]>
Cc: Alex Hung <[email protected]>
Signed-off-by: John Harrison <[email protected]>
---
.../drm/amd/display/amdgpu_dm/tests/amdgpu_dm_colorop_test.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git
a/drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_colorop_test.c
b/drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_colorop_test.c
index 90cc5592ef5d..00f1d5b33b1f 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_colorop_test.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_colorop_test.c
@@ -192,6 +192,7 @@ static void dm_expect_colorop_pipeline(struct kunit *test,
struct drm_device *dr
static void dm_test_initialize_default_pipeline(struct kunit *test)
{
static const enum drm_colorop_type expected[] = {
+ DRM_COLOROP_FIXED_MATRIX,
DRM_COLOROP_1D_CURVE, /* degam TF */
DRM_COLOROP_MULTIPLIER,
DRM_COLOROP_CTM_3X4,
@@ -257,6 +258,7 @@ static void dm_test_initialize_default_pipeline_caps(struct
kunit *test,
static void dm_test_initialize_default_pipeline_dpp_3d_lut(struct kunit *test)
{
static const enum drm_colorop_type expected[] = {
+ DRM_COLOROP_FIXED_MATRIX,
DRM_COLOROP_1D_CURVE,
DRM_COLOROP_MULTIPLIER,
DRM_COLOROP_CTM_3X4,
@@ -278,6 +280,7 @@ static void
dm_test_initialize_default_pipeline_dpp_3d_lut(struct kunit *test)
static void dm_test_initialize_default_pipeline_mpc_preblend(struct kunit
*test)
{
static const enum drm_colorop_type expected[] = {
+ DRM_COLOROP_FIXED_MATRIX,
DRM_COLOROP_1D_CURVE,
DRM_COLOROP_MULTIPLIER,
DRM_COLOROP_CTM_3X4,
@@ -299,6 +302,7 @@ static void
dm_test_initialize_default_pipeline_mpc_preblend(struct kunit *test)
static void dm_test_initialize_default_pipeline_no_3d_lut(struct kunit *test)
{
static const enum drm_colorop_type expected[] = {
+ DRM_COLOROP_FIXED_MATRIX,
DRM_COLOROP_1D_CURVE,
DRM_COLOROP_MULTIPLIER,
DRM_COLOROP_CTM_3X4,
--
2.43.0