projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eafaa3e
)
drm/i915/display/xelpd: Fix incorrect color capability reporting
author
Uma Shankar
<uma.shankar@intel.com>
Wed, 7 Jul 2021 09:52:53 +0000
(15:22 +0530)
committer
Uma Shankar
<uma.shankar@intel.com>
Fri, 9 Jul 2021 05:41:24 +0000
(11:11 +0530)
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 <swati2.sharma@intel.com>
Signed-off-by: Uma Shankar <uma.shankar@intel.com>
Reviewed-by: Swati Sharma <swati2.sharma@intel.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20210707095253.23848-1-uma.shankar@intel.com
drivers/gpu/drm/i915/i915_pci.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_pci.c
b/drivers/gpu/drm/i915/i915_pci.c
index 0c11c0e92cea9468cb1f0b64eb7af84c3a7ee0a8..5fb507cbdef8303e34a1f96914bd2872dac63f37 100644
(file)
--- 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, \