]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915: Implement Dbuf overlap detection feature starting from LNL
authorStanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Wed, 30 Oct 2024 10:33:19 +0000 (12:33 +0200)
committerMatt Roper <matthew.d.roper@intel.com>
Thu, 31 Oct 2024 19:03:17 +0000 (12:03 -0700)
commit98d2f2530fcc62efcfc816ac5ca352269db95765
tree2c7f2acaee4cf71af8b896e349b17dd90e7d47f9
parent1f12d63a14d7f858c0fab9824102c9a9cc08004d
drm/i915: Implement Dbuf overlap detection feature starting from LNL

From LNL onwards there is a new hardware feature, which
allows to detect if the driver wrongly allocated DBuf
entries and they happen to overlap. If enabled this will
cause a specific interrupt to occur.
We now handle it in the driver, by writing correspondent
error message to kernel log.

v2: Initialize dbuf overlap flag in runtime_defaults (Jani Nikula)

v3: Unmask the overlap detection interrupt (Uma)

v4: use display over i915 (Jani Nikula)

v5: Use display instead of dev_priv (Jani Nikula)

v6: rebased to resolve merge conflicts

Bspec: 69450, 69464
Signed-off-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Signed-off-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241030103319.207235-1-vinod.govindapillai@intel.com
drivers/gpu/drm/i915/display/intel_display_device.c
drivers/gpu/drm/i915/display/intel_display_device.h
drivers/gpu/drm/i915/display/intel_display_irq.c
drivers/gpu/drm/i915/i915_reg.h