[Bug 109054] [CI][BAT] BSW machines oops on boot

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Dec 13 16:07:18 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=109054

--- Comment #1 from Chris Wilson <chris at chris-wilson.co.uk> ---
-static bool crtc_state_is_legacy_gamma(struct drm_crtc_state *state)
+static bool crtc_state_is_legacy_gamma(struct intel_crtc_state *crtc_state)
 {
-       return !state->degamma_lut &&
-               !state->ctm &&
-               state->gamma_lut &&
-               drm_color_lut_size(state->gamma_lut) == LEGACY_LUT_LENGTH;
+       int lut_length = drm_color_lut_size(crtc_state->base.gamma_lut);
+
+       return !crtc_state->base.degamma_lut &&
+               !crtc_state->base.ctm &&
+               crtc_state->base.gamma_lut &&
+               lut_length == LEGACY_LUT_LENGTH;
 }

I spy with my little eye something beginning with o.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20181213/5499449a/attachment.html>


More information about the intel-gfx-bugs mailing list