Re: [PATCH 1/6] drm/i915: Extract out gamma table and CSC to their own file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Lionel,

On 21 January 2016 at 15:03, Lionel Landwerlin
<lionel.g.landwerlin@xxxxxxxxx> wrote:
> +       /* Workaround : Do not read or write the pipe palette/gamma data while
> +        * GAMMA_MODE is configured for split gamma and IPS_CTL has IPS enabled.
> +        */
> +       if (IS_HASWELL(dev) && intel_crtc->config->ips_enabled &&
> +           ((I915_READ(GAMMA_MODE(pipe)) & GAMMA_MODE_MODE_MASK) ==
> +            GAMMA_MODE_MODE_SPLIT)) {
> +               hsw_disable_ips(intel_crtc);
> +               reenable_ips = true;
> +       }

Obviously this one isn't your fault, but this should be inspecting
software state rather than hardware register state.

Cheers,
Daniel
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux