• Damien Lespiau's avatar
    drm/i915: Move num_plane to the intel_device_info structure · 22d3fd46
    Damien Lespiau authored
    And rename it to num_sprites as this value doesn't count the primary
    plane.
    
    This limit lives with num_pipes really, and now that dev_priv->info is
    writable we can put it there instead.
    
    While at it, introduce a intel_device_info_runtime_init() where we'll be
    able to gather the device info fields at run-time.
    
    v2: rename num_plane to num_sprites (Ville Syrjälä)
    v3: rebase on top of latest drm-nightly
    
    Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com> (for v2)
    Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> (for v2)
    Signed-off-by: default avatarDamien Lespiau <damien.lespiau@intel.com>
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    22d3fd46
i915_drv.h 81.7 KB