drm/i915/opregion: convert intel_opregion_get_edid() to struct drm_edid
authorJani Nikula <jani.nikula@intel.com>
Wed, 25 Jan 2023 11:10:51 +0000 (13:10 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 26 Jan 2023 10:27:30 +0000 (12:27 +0200)
commit91ec555f5e9ebf1747273ffc60d4be36fb915e43
tree04991be89b1a4c36282e4f9d8c9726bc06cbce35
parentc36225a1e046e82050a4279b01b2302c2a38835f
drm/i915/opregion: convert intel_opregion_get_edid() to struct drm_edid

Simplify validation and use by converting to drm_edid.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/6abb01f1e97d54a3c11bec24377f035df412b492.1674643465.git.jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_opregion.c
drivers/gpu/drm/i915/display/intel_opregion.h