linux/drivers/gpu/drm/i915/display/intel_display_wa.h
Jani Nikula 94fe5f275a drm/i915/wa: convert intel_display_wa.[ch] to struct intel_display
Going forward, struct intel_display is the main display device data
pointer. Convert as much as possible of intel_display_wa.[ch] to struct
intel_display.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://lore.kernel.org/r/821937f9fcdcb7d5516be0c48c2cee009936ecb8.1742906146.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
2025-03-28 13:52:23 +02:00

24 lines
464 B
C

/* SPDX-License-Identifier: MIT */
/*
* Copyright © 2023 Intel Corporation
*/
#ifndef __INTEL_DISPLAY_WA_H__
#define __INTEL_DISPLAY_WA_H__
#include <linux/types.h>
struct intel_display;
void intel_display_wa_apply(struct intel_display *display);
#ifdef I915
static inline bool intel_display_needs_wa_16023588340(struct intel_display *display)
{
return false;
}
#else
bool intel_display_needs_wa_16023588340(struct intel_display *display);
#endif
#endif