[PATCH 04/10] INTEL_DII: drm/i915/mtl: Attach degamma mode property
Borah, Chaitanya Kumar
chaitanya.kumar.borah at intel.com
Wed Sep 14 12:47:57 UTC 2022
Attach degamma mode property to allow userspace to set the
degamma mode and provide lut for the same.
Signed-off-by: Borah, Chaitanya Kumar <chaitanya.kumar.borah at intel.com>
---
drivers/gpu/drm/i915/display/intel_color.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/i915/display/intel_color.c b/drivers/gpu/drm/i915/display/intel_color.c
index 6921827b548762..bb45e6809bbf7d 100644
--- a/drivers/gpu/drm/i915/display/intel_color.c
+++ b/drivers/gpu/drm/i915/display/intel_color.c
@@ -3252,6 +3252,7 @@ void intel_color_init(struct intel_crtc *crtc)
mtl_24bit_degamma,
sizeof(mtl_24bit_degamma),
LUT_TYPE_DEGAMMA);
+ drm_crtc_attach_degamma_mode_property(&crtc->base);
}
} else if (DISPLAY_VER(dev_priv) >= 11) {
--
2.25.1
More information about the Intel-gfx-trybot
mailing list