Skip to content

Commit

Permalink
drm/i915/display/xelpd: Fix incorrect color capability reporting
Browse files Browse the repository at this point in the history
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]
  • Loading branch information
uma-intel committed Jul 9, 2021
1 parent eafaa3e commit edc2c4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/i915/i915_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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, \
Expand Down

0 comments on commit edc2c4b

Please sign in to comment.