drm/xe/display: Remove i915_drv.h include
Change HAS_DISPLAY towards intel_display and remove one of the last includes of i915_drv.h in Xe. Reviewed-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240917203243.659393-1-rodrigo.vivi@intel.com Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
This commit is contained in:
@@ -13,7 +13,6 @@
|
||||
#include <uapi/drm/xe_drm.h>
|
||||
|
||||
#include "soc/intel_dram.h"
|
||||
#include "i915_drv.h" /* FIXME: HAS_DISPLAY() depends on this */
|
||||
#include "intel_acpi.h"
|
||||
#include "intel_audio.h"
|
||||
#include "intel_bw.h"
|
||||
@@ -34,7 +33,7 @@
|
||||
|
||||
static bool has_display(struct xe_device *xe)
|
||||
{
|
||||
return HAS_DISPLAY(xe);
|
||||
return HAS_DISPLAY(&xe->display);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user