drm/virtio: switch to struct drm_edid

Prefer struct drm_edid based functions over struct edid.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Robert Foss <rfoss@kernel.org>
Signed-off-by: Robert Foss <rfoss@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/ed6e76a9e94816789ca9caf8775d6a6156877496.1715347488.git.jani.nikula@intel.com
This commit is contained in:
Jani Nikula
2024-05-10 16:26:09 +03:00
committed by Robert Foss
parent 5c465601d4
commit ac15c653fb
3 changed files with 11 additions and 13 deletions

View File

@@ -179,7 +179,7 @@ struct virtio_gpu_output {
struct drm_encoder enc;
struct virtio_gpu_display_one info;
struct virtio_gpu_update_cursor cursor;
struct edid *edid;
const struct drm_edid *drm_edid;
int cur_x;
int cur_y;
bool needs_modeset;