disp: msm: dp: remove usage of compression ratio enum from DP driver
As overall display driver is moving away from hard-coded compression ratios, prepare the DP driver for the same by removing the usage of the compression ratio enum. Change-Id: I298db7d20baed8afec9f96dff8c7e950702bfec9 Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
このコミットが含まれているのは:

committed by
Gerrit - the friendly Code Review server

コミット
27844b7b60
@@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <drm/drm_atomic_helper.h>
|
||||
@@ -418,7 +418,7 @@ int dp_connector_get_mode_info(struct drm_connector *connector,
|
||||
|
||||
dp_disp->convert_to_dp_mode(dp_disp, dp_panel, drm_mode, &dp_mode);
|
||||
|
||||
if (dp_mode.timing.comp_info.comp_ratio) {
|
||||
if (dp_mode.timing.comp_info.comp_ratio > 1) {
|
||||
memcpy(&mode_info->comp_info,
|
||||
&dp_mode.timing.comp_info,
|
||||
sizeof(mode_info->comp_info));
|
||||
|
新しいイシューから参照
ユーザーをブロックする