drm/msm: Check if target supports crash dump capture
authorSharat Masetty <smasetty@codeaurora.org>
Fri, 12 Oct 2018 08:56:55 +0000 (14:26 +0530)
committerSean Paul <seanpaul@chromium.org>
Fri, 30 Nov 2018 16:33:54 +0000 (11:33 -0500)
commit4f3a31a8e8bff5fc363ec9f4755e58a15f7f36c7
treed39a242522eed47ee361d2e7e0bcdaa165df3af4
parentebcdcef30333660d3314158bac362425ade3d28c
drm/msm: Check if target supports crash dump capture

This patch simply checks first to see if the target can support crash dump
capture before proceeding.

Signed-off-by: Sharat Masetty <smasetty@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
drivers/gpu/drm/msm/msm_gpu.c