Quoting Michal Wajdeczko (2019-07-29 15:32:02) > On Mon, 29 Jul 2019 13:04:49 +0200, Chris Wilson > <chris@xxxxxxxxxxxxxxxxxx> wrote: > > > As we store a pointer to i915 in the drvdata field (as the pointer is > > both > > an alias to the drm_device and drm_i915_private), we can use the stored > > pointer directly as the i915 device. > > > > as we store drm_device* there, let's always treat it as drm_device* > we already have proper magic that does runtime conversion at no cost Or we just s/&i915->drm/i915/, as we own the interface between pci device and the rest of the world. -Chris _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx