Star64_linux/drivers/gpu/drm/amd/display/modules
Wyatt Wood d1ebfdd8d0 drm/amd/display: Unify psr feature flags
[Why]
As it stands, psr has feature flags in dm, stream, and link. Most are
not defined well enough, and different dm layers have different uses for
these same flags.

[How]
We define a new structure called psr_settings in dc_link that will hold
the following psr feature flags:

psr_feature_enable - psr is supported
psr_allow_active - psr is currently active
psr_version - internal psr version supported
psr_frame_capture_indication_req
psr_sdp_transmit_line_num_deadline
The last two flags were moved out of the power module
for the purposes of consolidating psr flags.
Their use is already well-defined.

Psr caps reported by sink will also be stored in dc_link,
in dpcd_caps.psr_caps.

Signed-off-by: Wyatt Wood <wyatt.wood@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-04-22 18:11:47 -04:00
..
color drm/amd/display: Refactor to remove diags specific rgam func 2020-01-22 16:55:27 -05:00
freesync drm/amd/display: LFC not working on 2.0x range monitors (v2) 2020-03-31 12:26:14 -04:00
hdcp drm/amd/display: fix typo 2020-04-09 10:43:16 -04:00
inc drm/amd/display: fix typo 2020-04-09 10:43:16 -04:00
info_packet drm/amd/display: Unify psr feature flags 2020-04-22 18:11:47 -04:00
power drm/amd/display: Remove byte swapping for dmcub abm config table 2020-04-22 18:11:47 -04:00
stats drm/amd/display: remove redundant null pointer check before kfree 2018-09-26 21:09:12 -05:00
vmid drm/amd/display: System crashes when add_ptb_to_table() gets called 2020-02-25 11:03:54 -05:00