diff options
author | Uma Shankar <[email protected]> | 2021-07-07 15:22:53 +0530 |
---|---|---|
committer | Uma Shankar <[email protected]> | 2021-07-09 11:11:24 +0530 |
commit | edc2c4b9566872d30c14706b881345c131fb8b6b (patch) | |
tree | 4089cdec2961c0a2a19ffd7ece1a87186d51e221 | |
parent | eafaa3e962999091252e6ad667d5da69fce1fdb3 (diff) |
drm/i915/display/xelpd: Fix incorrect color capability reporting
On XELPD platforms, color management support is not yet enabled.
Fix wrongly reporting the same through platform info, which was
resulting in incorrect initialization and usage.
Cc: Swati Sharma <[email protected]>
Signed-off-by: Uma Shankar <[email protected]>
Reviewed-by: Swati Sharma <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
-rw-r--r-- | drivers/gpu/drm/i915/i915_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_pci.c b/drivers/gpu/drm/i915/i915_pci.c index 0c11c0e92cea..5fb507cbdef8 100644 --- a/drivers/gpu/drm/i915/i915_pci.c +++ b/drivers/gpu/drm/i915/i915_pci.c @@ -947,7 +947,7 @@ static const struct intel_device_info adl_s_info = { #define XE_LPD_FEATURES \ .abox_mask = GENMASK(1, 0), \ - .color = { .degamma_lut_size = 33, .gamma_lut_size = 262145 }, \ + .color = { .degamma_lut_size = 0, .gamma_lut_size = 0 }, \ .cpu_transcoder_mask = BIT(TRANSCODER_A) | BIT(TRANSCODER_B) | \ BIT(TRANSCODER_C) | BIT(TRANSCODER_D), \ .dbuf.size = 4096, \ |