[PATCH 00/10] drm: drm_device house cleaning

ville.syrjala at linux.intel.com ville.syrjala at linux.intel.com
Fri Oct 4 13:53:32 CEST 2013


This series does some house cleaning on struct drm_device.

x86-64:
 pahole before the series:
        /* size: 1576, cachelines: 25, members: 67 */
        /* sum members: 1528, holes: 12, sum holes: 48 */
        /* paddings: 3, sum paddings: 11 */
        /* last cacheline: 40 bytes */

 pahole after the series:
        /* size: 1296, cachelines: 21, members: 52 */
        /* sum members: 1290, holes: 1, sum holes: 2 */
        /* padding: 4 */
        /* paddings: 3, sum paddings: 11 */
        /* last cacheline: 16 bytes */

x86:
 pahole before the series:
        /* size: 956, cachelines: 15, members: 67 */
        /* sum members: 952, holes: 2, sum holes: 4 */
        /* paddings: 3, sum paddings: 7 */
        /* last cacheline: 60 bytes */

 pahole after the series:
        /* size: 764, cachelines: 12, members: 52 */
        /* sum members: 762, holes: 1, sum holes: 2 */
        /* paddings: 3, sum paddings: 7 */
        /* last cacheline: 60 bytes */

Ville Syrjälä (10):
      drm: Make vblank_disable_allowed bool
      drm: Make vblank_inmodeset unsigned
      drm: Make vblank_enabled bool
      drm: Collect per-crtc vblank stuff to a struct
      drm: Make irq_enabled bool
      drm: Kill unused stuff from struct drm_device
      drm: Kill ctx_count from struct drm_device
      drm: Remove pci_vendor and pci_device from struct drm_device
      drm: Kill drm perf counter leftovers
      drm: Pack struct drm_device a bit better

 drivers/gpu/drm/drm_context.c               |   2 -
 drivers/gpu/drm/drm_drv.c                   |   6 --
 drivers/gpu/drm/drm_fops.c                  |   3 -
 drivers/gpu/drm/drm_info.c                  |   6 +-
 drivers/gpu/drm/drm_irq.c                   | 152 ++++++++++------------------
 drivers/gpu/drm/drm_lock.c                  |   3 -
 drivers/gpu/drm/drm_pci.c                   |   3 -
 drivers/gpu/drm/drm_stub.c                  |   9 --
 drivers/gpu/drm/exynos/exynos_drm_fimd.c    |   8 +-
 drivers/gpu/drm/exynos/exynos_drm_vidi.c    |   8 +-
 drivers/gpu/drm/gma500/psb_drv.c            |   2 +-
 drivers/gpu/drm/gma500/psb_drv.h            |   8 +-
 drivers/gpu/drm/gma500/psb_irq.c            |  22 ++--
 drivers/gpu/drm/i810/i810_dma.c             |  11 --
 drivers/gpu/drm/i915/i915_dma.c             |  11 +-
 drivers/gpu/drm/i915/i915_drv.h             |  36 +++----
 drivers/gpu/drm/i915/i915_gpu_error.c       |   2 +-
 drivers/gpu/drm/i915/intel_pm.c             |   2 +-
 drivers/gpu/drm/i915/intel_tv.c             |   2 +-
 drivers/gpu/drm/mga/mga_dma.c               |   5 -
 drivers/gpu/drm/mga/mga_irq.c               |   2 +-
 drivers/gpu/drm/nouveau/dispnv04/arb.c      |   8 +-
 drivers/gpu/drm/nouveau/dispnv04/dfp.c      |   4 +-
 drivers/gpu/drm/nouveau/dispnv04/disp.h     |   6 +-
 drivers/gpu/drm/nouveau/dispnv04/hw.c       |   4 +-
 drivers/gpu/drm/nouveau/nouveau_abi16.c     |   4 +-
 drivers/gpu/drm/nouveau/nouveau_bios.c      |   4 +-
 drivers/gpu/drm/nouveau/nouveau_connector.c |   4 +-
 drivers/gpu/drm/omapdrm/omap_irq.c          |  17 ++--
 drivers/gpu/drm/radeon/radeon_bios.c        |   6 +-
 drivers/gpu/drm/radeon/radeon_kms.c         |   2 +-
 drivers/gpu/drm/via/via_mm.c                |   2 +-
 drivers/gpu/host1x/drm/drm.c                |   2 +-
 drivers/staging/imx-drm/imx-drm-core.c      |   8 +-
 include/drm/drmP.h                          |  62 ++++++------
 35 files changed, 171 insertions(+), 265 deletions(-)


More information about the dri-devel mailing list