Re: [Intel-gfx] [PATCH] drm/i915: Keep IPS disabled during CRC collection

2017-08-10 Thread Lofstedt, Marta
Tested-by: Marta Lofstedt > -Original Message- > From: Maarten Lankhorst [mailto:maarten.lankho...@linux.intel.com] > Sent: Thursday, August 10, 2017 12:55 PM > To: intel-gfx@lists.freedesktop.org > Cc: Lofstedt, Marta ; Maarten Lankhorst > > Subject: [PATCH] drm/i915: Keep IPS disabled

[Intel-gfx] [PATCH] drm/i915: Keep IPS disabled during CRC collection

2017-08-10 Thread Maarten Lankhorst
We need to look at crtc->state->active for the legacy crc to match the drm crc api. Even though the drm api explictily checks it, there's no harm in doing the same there so keep it for both. Introduce a intel_crtc->ips_disabled flag for CRC, which is protected by crtc->mutex and set it to true whi