]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commit
drm/msm: Fix build with KMS disabled
authorRob Clark <robin.clark@oss.qualcomm.com>
Wed, 9 Jul 2025 14:08:38 +0000 (07:08 -0700)
committerRob Clark <robin.clark@oss.qualcomm.com>
Fri, 1 Aug 2025 17:48:52 +0000 (10:48 -0700)
commit7abb543ff03e7874eba50a27ab025f09c96f6f7a
tree16564bd4dce8e76fcb567da43452a9da2e7541ac
parentbb324f85f722848f5e5e53325bc00f13302e01d0
drm/msm: Fix build with KMS disabled

When commit 98290b0a7d60 ("drm/msm: make it possible to disable
KMS-related code.") was rebased on top of commit 3bebfd53af0f ("drm/msm:
Defer VMA unmap for fb unpins"), the additional use of msm_kms was
overlooked, resulting in a build break when KMS is disabled.  Add some
additional ifdef to fix that.

Reported-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 98290b0a7d60 ("drm/msm: make it possible to disable KMS-related code.")
Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com>
Tested-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Jessica Zhang <jessica.zhang@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/663240/
drivers/gpu/drm/msm/msm_gem.c