Re: [Intel-gfx] [PATCH v2 6/6] drm/i915: Use intel state as much as possible in wm code

2019-07-01 Thread Maarten Lankhorst
Op 28-06-2019 om 10:55 schreef Maarten Lankhorst: > Instead of directly referencing drm_crtc_state, convert to > intel_ctc_state and use the base struct. This is useful when we're > making the split between uapi and hw state, and also makes the > code slightly more readable. > > A lot of places als

[Intel-gfx] [PATCH v2 6/6] drm/i915: Use intel state as much as possible in wm code

2019-06-28 Thread Maarten Lankhorst
Instead of directly referencing drm_crtc_state, convert to intel_ctc_state and use the base struct. This is useful when we're making the split between uapi and hw state, and also makes the code slightly more readable. A lot of places also use cstate, instead of the more common crtc_state. Clean th