[igt-dev] [PATCH] drm/i915: Fix IGT kms_color/gamma subtest SKIP for GLK

Swati Sharma swati2.sharma at intel.com
Thu Dec 6 09:10:05 UTC 2018


Fix the skip for kms_color/gamma subtest

Test requirement not met in function run_tests_for_pipe, file kms_color.c:858:
Test requirement: igt_pipe_obj_has_prop(&data->display.pipes[p], IGT_CRTC_DEGAMMA_LUT_SIZE)
Subtest pipe-A-gamma: SKIP
Test requirement not met in function run_tests_for_pipe, file kms_color.c:858:
Test requirement: igt_pipe_obj_has_prop(&data->display.pipes[p], IGT_CRTC_DEGAMMA_LUT_SIZE)
Test requirement not met in function run_tests_for_pipe, file kms_color.c:858:
Test requirement: igt_pipe_obj_has_prop(&data->display.pipes[p], IGT_CRTC_DEGAMMA_LUT_SIZE)
Test requirement not met in function run_tests_for_pipe, file kms_color.c:847:
Test requirement: p < data->display.n_pipes
Test requirement not met in function run_tests_for_pipe, file kms_color.c:847:
Test requirement: p < data->display.n_pipes
Test requirement not met in function run_tests_for_pipe, file kms_color.c:847:
Test requirement: p < data->display.n_pipes

[Why]
degamma_lut_size assigned 0
[How]
degamma_lut_size should be 35
BSpec:18433
Testcase:igt/kms_color/pipe-A-gamma

Signed-off-by: Swati Sharma <swati2.sharma at intel.com>
---
 drivers/gpu/drm/i915/i915_pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/i915_pci.c b/drivers/gpu/drm/i915/i915_pci.c
index 6350db5..a1e900b 100644
--- a/drivers/gpu/drm/i915/i915_pci.c
+++ b/drivers/gpu/drm/i915/i915_pci.c
@@ -69,7 +69,7 @@
 #define CHV_COLORS \
 	.color = { .degamma_lut_size = 65, .gamma_lut_size = 257 }
 #define GLK_COLORS \
-	.color = { .degamma_lut_size = 0, .gamma_lut_size = 1024 }
+	.color = { .degamma_lut_size = 35, .gamma_lut_size = 1024 }
 
 /* Keep in gen based order, and chronological order within a gen */
 
-- 
1.9.1



More information about the igt-dev mailing list