On Tue, Jul 07, 2015 at 03:26:04PM -0300, Paulo Zanoni wrote: > From: Paulo Zanoni <paulo.r.zanoni@xxxxxxxxx> > > Because the cool kids use dev_priv and FBC wants to be cool too. > > We've been historically using struct drm_device on the FBC function > arguments, but we only really need it for intel_vgpu_active(): static inline bool intel_vgpu_active(struct drm_device *dev) { return to_i915(dev)->vgpu.active; } Hah! Just out of scope for this patch. Or you could do a quick #define intel_vgpu_active(P) (__I915__(P)->vgpu->active) and then magically use dev_priv as convenient. -Chris -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx