]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2b7e4f4ce092ba3060e0d2fcbcfd8bc2b41d470d
tree99163a36572edbe10c37669ca96eda331affa28e
parent584a7ff49df09a187e4b13909c1cccd3473202c1
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