drm/i915: Shrink cxsr_latency_table
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Thu, 13 Oct 2016 10:09:23 +0000 (11:09 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Thu, 13 Oct 2016 12:06:40 +0000 (13:06 +0100)
commit44a655cae3043453f9dd8076538712d52e2e0ce4
tree99163a36572edbe10c37669ca96eda331affa28e
parent1c777c5d1dcdf8fa0223fcff35fb387b5bb9517a
drm/i915: Shrink cxsr_latency_table

unsigned long is too wide - use smaller types in
struct cxsr_latency to save 800-something bytes of .rodata.

v2: All data even fits in u16 for even more saving. (Ville Syrjala)
v3: Move bitfields to the end of the struct. (Joonas Lahtinen)

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_pm.c