[PATCH] drm/msm: Fix build with KMS disabled

Arnd Bergmann arnd at arndb.de
Wed Jul 9 14:58:23 UTC 2025


On Wed, Jul 9, 2025, at 16:08, Rob Clark wrote:
> 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 at arndb.de>
> Fixes: 98290b0a7d60 ("drm/msm: make it possible to disable KMS-related code.")
> Signed-off-by: Rob Clark <robin.clark at oss.qualcomm.com>

Thanks for the fix!

Tested-by: Arnd Bergmann <arnd at arndb.de>


More information about the dri-devel mailing list