// SPDX-License-Identifier: GPL-2.0-or-later /* drm_edid_load.c: use a built-in EDID data set or load it via the firmware interface Copyright (C) 2012 Carsten Emde <[email protected]> */ #include <linux/firmware.h> #include <linux/module.h> #include <linux/platform_device.h> #include <drm/drm_connector.h> #include <drm/drm_drv.h> #include <drm/drm_edid.h> #include <drm/drm_print.h> #include "drm_crtc_internal.h" static char edid_firmware[PATH_MAX]; module_param_string(…); MODULE_PARM_DESC(…) …; static const struct drm_edid *edid_load(struct drm_connector *connector, const char *name) { … } const struct drm_edid *drm_edid_load_firmware(struct drm_connector *connector) { … }