Commit 7abb543f authored by Rob Clark's avatar Rob Clark
Browse files

drm/msm: Fix build with KMS disabled



When commit 98290b0a ("drm/msm: make it possible to disable
KMS-related code.") was rebased on top of commit 3bebfd53 ("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: default avatarArnd Bergmann <arnd@arndb.de>
Fixes: 98290b0a ("drm/msm: make it possible to disable KMS-related code.")
Signed-off-by: default avatarRob Clark <robin.clark@oss.qualcomm.com>
Tested-by: default avatarArnd Bergmann <arnd@arndb.de>
Reviewed-by: default avatarJessica Zhang <jessica.zhang@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/663240/
parent bb324f85
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment