drm: Link drm_rect.o into DRM core module
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 19 Sep 2024 18:53:43 +0000 (20:53 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 24 Sep 2024 08:15:01 +0000 (10:15 +0200)
commite0a8f8c623aa5368d69ba1aabf727453a2136d44
tree7e02ea107d0c386db84bef47ae0b3a55903bf4ac
parent831214f77037de02afc287eae93ce97f218d8c04
drm: Link drm_rect.o into DRM core module

Several places in drm.ko use struct drm_rect and its helpers. This
only works as the called interfaces are declared as static inline in
the header file. Fix the issue by linking drm_rect.o into drm.ko.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240919185436.86790-1-tzimmermann@suse.de
drivers/gpu/drm/Makefile