[Intel-gfx] [PATCH 1/4] drm/i915: Split out runtime configuration of device info to its own file

Chris Wilson chris at chris-wilson.co.uk
Tue Jul 5 10:51:08 UTC 2016


On Tue, Jul 05, 2016 at 11:44:07AM +0100, Matthew Auld wrote:
> > +
> > +#include "i915_drv.h"
> > +
> > +void intel_device_info_dump(struct drm_i915_private *dev_priv)
> > +{
> > +       const struct intel_device_info *info = &dev_priv->info;
> mkwrite_device_info(dev_priv)?

Here we just want the const pointer, so no need for the casts behind C's
back.

> On a similar note there is one other in intel_lrc.c, maybe fix in a
> follow up patch :)

Yup.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list