Re: [Intel-gfx] [RFC 2/2] [INCOMPLETE] drm/i915: Split up crtc_state into uapi and hw

2019-06-17 Thread Manasi Navare
Here it looks like, we are changing all the helpers to accept intel_crtc_state as an argument and then use the intel_crtc_state->hw and ->uapi whereever needed inside the function. But with seperating the drm_crtc_state now into hw and uapi, wasnt one of the goals to retain teh helpers taking

[Intel-gfx] [RFC 2/2] [INCOMPLETE] drm/i915: Split up crtc_state into uapi and hw

2019-06-14 Thread Maarten Lankhorst
Use uapi for drm, and keep the internal state in hw. This patch is incomplete, just want feedback on the direction I'm going. --- drivers/gpu/drm/i915/intel_atomic.c | 13 ++-- drivers/gpu/drm/i915/intel_display.c | 88 +++- drivers/gpu/drm/i915/intel_drv.h | 2