[Intel-gfx] [RFC 4/7] drm/i915: Remove mkwrite_device_info

Chris Wilson chris at chris-wilson.co.uk
Mon Nov 12 17:25:59 UTC 2018


Quoting Tvrtko Ursulin (2018-11-12 17:12:39)
> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> 
> Now that we are down to one caller, which does not even modify copied
> device info, we can remove the mkwrite_device_info helper and convert the
> device info pointer itself to be a pointer to static table instead of a
> copy.

The copy was deliberate to avoid the extra pointer. How does the change
in code size now compare?
-Chris


More information about the Intel-gfx mailing list