Commit c79802d1 authored by Uma Shankar's avatar Uma Shankar Committed by Rodrigo Vivi

drm/xe/display: Create a dummy version for vga decode

This introduces an exclusive version of vga decode for xe.
Rest of the display changes will be re-used from i915.

Currently it adds just a dummy implementation. VGA decode
needs to be handled correctly in i915, proper implementation
will be adopted once the i915 changes are finalized and merged
in upstream.

v2: Addressed Arun's review comments
Signed-off-by: default avatarUma Shankar <uma.shankar@intel.com>
Reviewed-by: default avatarArun R Murthy <arun.r.mruthy@intel.com>
Acked-by: default avatarJani Nikula <jani.nikula@intel.com>
Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
parent 08ea5ea2
...@@ -152,6 +152,7 @@ xe-$(CONFIG_DRM_XE_DISPLAY) += \ ...@@ -152,6 +152,7 @@ xe-$(CONFIG_DRM_XE_DISPLAY) += \
display/xe_hdcp_gsc.o \ display/xe_hdcp_gsc.o \
display/xe_plane_initial.o \ display/xe_plane_initial.o \
display/xe_display_rps.o \ display/xe_display_rps.o \
display/xe_display_misc.o \
display/intel_fbdev_fb.o \ display/intel_fbdev_fb.o \
display/intel_fb_bo.o \ display/intel_fb_bo.o \
display/ext/i915_irq.o \ display/ext/i915_irq.o \
......
// SPDX-License-Identifier: MIT
/*
* Copyright © 2023 Intel Corporation
*/
#include "intel_display_types.h"
struct pci_dev;
unsigned int intel_gmch_vga_set_decode(struct pci_dev *pdev, bool enable_decode);
unsigned int intel_gmch_vga_set_decode(struct pci_dev *pdev, bool enable_decode)
{
/* ToDo: Implement the actual handling of vga decode */
return 0;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment