]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Fix broken num_entries in skl_ddb_allocation_overlaps
authorAnshuman Gupta <anshuman.gupta@intel.com>
Mon, 24 Feb 2020 12:40:04 +0000 (18:10 +0530)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 26 Feb 2020 14:14:56 +0000 (16:14 +0200)
commit7a0a6ee731508b770f3ee198af7b0c87a20ebb80
treec6004ffb10f4427493a8c239246a5f1d07e50de2
parentb1852b73f25b2de737c5ce97e8b0d17d3a232127
drm/i915: Fix broken num_entries in skl_ddb_allocation_overlaps

skl_ddb_allocation_overlaps() num_entries hass been passed as
INTEL_NUM_PIPES, it should be I915_MAX_PIPES.

v2:
- Rebased.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Anshuman Gupta <anshuman.gupta@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200224124004.26712-8-anshuman.gupta@intel.com
drivers/gpu/drm/i915/display/intel_display.c