linux/drivers/gpu/drm/amd/display/dc/clk_mgr
Jun Lei 057fc695e9 drm/amd/display: support "dummy pstate"
[why]
Existing support in DC for pstate only accounts for a single latency.  This is sufficient when the
variance of latency is small, or that pstate support isn't necessary for correct ASIC functionality.

Newer ASICs violate both existing assumptions.  PState support is mandatory of correct ASIC
functionality, but not all latencies have to be supported.  Existing code supports a "full p state" which
allows memory clock to change, but is hard for DCN to support (as it requires very large buffers).
New code will now fall back to a "dummy p state" support when "full p state" cannot be support.
This easy p state support should always be allowed.

[how]
Define a new latency in socBB.  Add fallback logic to support it.  Note DML is also updated to ensure
that fallback will always work.

Signed-off-by: Jun Lei <Jun.Lei@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-07-18 14:27:26 -05:00
..
dce100 drm/amd/display: Add DCN2 clk mgr 2019-06-21 18:59:34 -05:00
dce110 drm/amd/display: Copy max_clks_by_state after dce_clk_mgr_construct 2019-07-18 14:18:09 -05:00
dce112 drm/amd/display: Copy max_clks_by_state after dce_clk_mgr_construct 2019-07-18 14:18:09 -05:00
dce120 drm/amd/display: Copy max_clks_by_state after dce_clk_mgr_construct 2019-07-18 14:18:09 -05:00
dcn10 Merge branch 'drm-next' into drm-next-5.3 2019-06-25 08:42:25 -05:00
dcn20 drm/amd/display: support "dummy pstate" 2019-07-18 14:27:26 -05:00
clk_mgr.c Merge branch 'drm-next' into drm-next-5.3 2019-06-25 08:42:25 -05:00
Makefile drm/amd/display: Add DCN2 clk mgr 2019-06-21 18:59:34 -05:00