mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 13:59:45 -04:00
drm/amd/display: Clean up coding style
Adjust whitespace around operators to improve code readability and comply with kernel coding style guidelines. These changes are purely stylistic and introduce no functional modifications. Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com> Reviewed-by: Alex Hung <alex.hung@amd.com> Tested-by: Dan Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
5e43eb3cd7
commit
8a614ddfad
@@ -1525,8 +1525,8 @@ bool read_is_mst_supported(struct dc_link *link)
|
||||
return false;
|
||||
}
|
||||
|
||||
rev.raw = 0;
|
||||
cap.raw = 0;
|
||||
rev.raw = 0;
|
||||
cap.raw = 0;
|
||||
|
||||
st = core_link_read_dpcd(link, DP_DPCD_REV, &rev.raw,
|
||||
sizeof(rev));
|
||||
@@ -2125,13 +2125,13 @@ void detect_edp_sink_caps(struct dc_link *link)
|
||||
&backlight_adj_cap, sizeof(backlight_adj_cap));
|
||||
|
||||
link->dpcd_caps.dynamic_backlight_capable_edp =
|
||||
(backlight_adj_cap & DP_EDP_DYNAMIC_BACKLIGHT_CAP) ? true:false;
|
||||
(backlight_adj_cap & DP_EDP_DYNAMIC_BACKLIGHT_CAP) ? true : false;
|
||||
|
||||
core_link_read_dpcd(link, DP_EDP_GENERAL_CAP_1,
|
||||
&general_edp_cap, sizeof(general_edp_cap));
|
||||
|
||||
link->dpcd_caps.set_power_state_capable_edp =
|
||||
(general_edp_cap & DP_EDP_SET_POWER_CAP) ? true:false;
|
||||
(general_edp_cap & DP_EDP_SET_POWER_CAP) ? true : false;
|
||||
|
||||
set_default_brightness_aux(link);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user