Merge "disp: msm: sde: set in_log_limited as an unchangeable dump_mode"
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
0486afc4d7
@@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2016-2021, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
@@ -3475,7 +3475,8 @@ int sde_connector_register_custom_event(struct sde_kms *kms,
|
||||
break;
|
||||
case DRM_EVENT_SDE_HW_RECOVERY:
|
||||
ret = _sde_conn_enable_hw_recovery(conn_drm);
|
||||
sde_dbg_update_dump_mode(val);
|
||||
if (SDE_DBG_DEFAULT_DUMP_MODE != SDE_DBG_DUMP_IN_LOG_LIMITED)
|
||||
sde_dbg_update_dump_mode(val);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2016-2021, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
@@ -543,7 +543,7 @@ void sde_rsc_debug_dump(u32 mux_sel);
|
||||
|
||||
/**
|
||||
* sde_dbg_update_dump_mode - update dump mode to in_coredump mode if devcoredump
|
||||
* fueature is enabled. Default dump mode is in_mem, if HW recovery feature is
|
||||
* feature is enabled. Default dump mode is in_mem, if HW recovery feature is
|
||||
* enabled, this function will be called to set dump mode to in_coredump option.
|
||||
* @enable_coredump: if enable_coredump is true, update dump mode to in_coredump,
|
||||
* otherwise reset the dump mode to default mode.
|
||||
|
||||
Reference in New Issue
Block a user