mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 05:56:14 -04:00
drm/edid/firmware: drop drm_kms_helper.edid_firmware backward compat
Since the edid_firmware module parameter was moved from
drm_kms_helper.ko to drm.ko in v4.15, we've had a backwards
compatibility helper in place, with a DRM_NOTE() suggesting to migrate
to drm.edid_firmware. This was added in commit ac6c35a4d8 ("drm: add
backwards compatibility support for drm_kms_helper.edid_firmware").
More than five years and 30+ kernel releases later, drop the backward
compatibility.
v2: Drop the warnings too
Acked-by: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231114151406.61230-1-jani.nikula@intel.com
This commit is contained in:
@@ -23,22 +23,6 @@ module_param_string(edid_firmware, edid_firmware, sizeof(edid_firmware), 0644);
|
||||
MODULE_PARM_DESC(edid_firmware, "Do not probe monitor, use specified EDID blob "
|
||||
"from built-in data or /lib/firmware instead. ");
|
||||
|
||||
/* Use only for backward compatibility with drm_kms_helper.edid_firmware */
|
||||
int __drm_set_edid_firmware_path(const char *path)
|
||||
{
|
||||
scnprintf(edid_firmware, sizeof(edid_firmware), "%s", path);
|
||||
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL(__drm_set_edid_firmware_path);
|
||||
|
||||
/* Use only for backward compatibility with drm_kms_helper.edid_firmware */
|
||||
int __drm_get_edid_firmware_path(char *buf, size_t bufsize)
|
||||
{
|
||||
return scnprintf(buf, bufsize, "%s", edid_firmware);
|
||||
}
|
||||
EXPORT_SYMBOL(__drm_get_edid_firmware_path);
|
||||
|
||||
#define GENERIC_EDIDS 6
|
||||
static const char * const generic_edid_name[GENERIC_EDIDS] = {
|
||||
"edid/800x600.bin",
|
||||
|
||||
Reference in New Issue
Block a user