[Intel-gfx] [PATCH] drm/i915/display/xelpd: Fix incorrect color capability reporting
Shankar, Uma
uma.shankar at intel.com
Fri Jul 9 05:12:44 UTC 2021
> -----Original Message-----
> From: Sharma, Swati2 <swati2.sharma at intel.com>
> Sent: Thursday, July 8, 2021 1:07 AM
> To: Shankar, Uma <uma.shankar at intel.com>; intel-gfx at lists.freedesktop.org
> Subject: Re: [PATCH] drm/i915/display/xelpd: Fix incorrect color capability reporting
>
> Reviewed-by: Swati Sharma <swati2.sharma at intel.com>
Merged the change to drm-intel-next. Thanks for the review
Regards,
Uma Shankar
>
> On 07-Jul-21 3:22 PM, Uma Shankar wrote:
> > 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 at intel.com>
> > Signed-off-by: Uma Shankar <uma.shankar 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 a7bfdd827bc8..8ff1990528d1
> > 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, \
> >
>
> --
> ~Swati Sharma
More information about the Intel-gfx
mailing list