drm/nouveau: include drm/drm_edid.h only where needed
authorJani Nikula <jani.nikula@intel.com>
Thu, 4 Jan 2024 20:16:30 +0000 (22:16 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 10 Jan 2024 09:14:06 +0000 (11:14 +0200)
commitc3c33a139a8831972b9073c442dd6b39382b6c2a
treeb6e83ed59f2c8bac4de7688d71a3d48e80175067
parent632ca3c92f3840d91ba7ddda0271f84813036a11
drm/nouveau: include drm/drm_edid.h only where needed

Including drm_edid.h from nouveau_connector.h causes the rebuild of 15
files when drm_edid.h is modified, while there are only a few files that
actually need to include drm_edid.h.

Cc: Karol Herbst <kherbst@redhat.com>
Cc: Lyude Paul <lyude@redhat.com>
Cc: Danilo Krummrich <dakr@redhat.com>
Cc: nouveau@lists.freedesktop.org
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Reviewed-by: Danilo Krummrich <dakr@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240104201632.1100753-1-jani.nikula@intel.com
drivers/gpu/drm/nouveau/dispnv50/head.c
drivers/gpu/drm/nouveau/nouveau_connector.h