Tag: 31409e97ef708ba52ddcb9a7b65b8b878ecc08f3

drm/i915: Determine I915_MAX_PLANES from plane enum

Author: Matt Roper <matthew.d.roper@intel.com> Let the compiler figure out what I915_MAX_PLANES is from ‘enum plane’ so that we don’t need a separate #define. While we’re at it, add the cursor plane to the enum. This will cause I915_MAX_PLANES to now include the cursor plane in its count (it didn’t previously). This change is safe since …

Continue reading