Anthony Koo
940c527060
drm/amd/display: [FW Promotion] Release 0.0.25
...
Signed-off-by: Anthony Koo <Anthony.Koo@amd.com >
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2020-07-21 15:37:39 -04:00
Anthony Koo
7e7cf95a4d
drm/amd/display: [FW Promotion] Release 0.0.24
...
Signed-off-by: Anthony Koo <Anthony.Koo@amd.com >
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com >
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2020-07-14 14:37:33 -04:00
Anthony Koo
b226577488
drm/amd/display: [FW Promotion] Release 0.0.23
...
[Header Changes]
- Drop unused firmware SCRATCH bits from interface
Signed-off-by: Anthony Koo <Anthony.Koo@amd.com >
Acked-by: Eryk Brol <eryk.brol@amd.com >
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2020-07-08 09:01:58 -04:00
Anthony Koo
80eba958fe
drm/amd/display: [FW Promotion] Release 1.0.22
...
[Header Changes]
- Add command for notification of active streams to DMUB
Signed-off-by: Anthony Koo <Anthony.Koo@amd.com >
Acked-by: Eryk Brol <eryk.brol@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2020-07-02 12:02:54 -04:00
Anthony Koo
3e84b9c977
drm/amd/display: [FW Promotion] Release 1.0.21
...
Signed-off-by: Anthony Koo <Anthony.Koo@amd.com >
Acked-by: Eryk Brol <eryk.brol@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2020-07-02 12:02:54 -04:00
Anthony Koo
ca37b02fba
drm/amd/display: [FW Promotion] Release 1.0.20
...
Signed-off-by: Anthony Koo <Anthony.Koo@amd.com >
Acked-by: Eryk Brol <eryk.brol@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2020-07-02 12:02:53 -04:00
Anthony Koo
447f3d0f38
drm/amd/display: [FW Promotion] Release 1.0.19
...
[Header Changes]
- Add debug flag for psr to use hw locking mgr state machine
Signed-off-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-07-01 01:59:26 -04:00
Anthony Koo
492dd8a8e1
drm/amd/display: [FW Promotion] Release 1.0.18
...
[Header Changes]
- Update scratch information for boot status
Signed-off-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-07-01 01:59:25 -04:00
Anthony Koo
a85f148ed3
drm/amd/display: [FW Promotion] Release 1.0.17
...
Signed-off-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-07-01 01:59:25 -04:00
Anthony Koo
de7653fde0
drm/amd/display: [FW Promotion] Release 1.0.16
...
Signed-off-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-07-01 01:59:24 -04:00
Wyatt Wood
dc6e244855
drm/amd/display: Use dmub fw to lock pipe, cursor, dig
...
[Why]
Hw lock manager adds the ability to lock pipe, cursor, and dig in fw.
[How]
Send hw lock command to fw to lock pipe, cursor, and dig.
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-07-01 01:59:24 -04:00
Anthony Koo
788408b787
drm/amd/display: [FW Promotion] Release 1.0.15
...
[Header Changes]
- Add new initialization bits for driver to check
firmware status
- Add command for HW locking via DMUB
Signed-off-by: Anthony Koo <Anthony.Koo@amd.com >
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2020-07-01 01:59:21 -04:00
Anthony Koo
78ead7715f
drm/amd/display: [FW Promotion] Release 1.0.14
...
[Header Changes]
- Add SDP transmission deadline for PSR config cmd
Signed-off-by: Anthony Koo <Anthony.Koo@amd.com >
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2020-07-01 01:59:20 -04:00
Anthony Koo
d05bfc62f5
drm/amd/display: [FW Promotion] Release 1.0.13
...
[Header Changes]
- Version bump to 1.0.13
Signed-off-by: Anthony Koo <Anthony.Koo@amd.com >
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com >
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2020-07-01 01:59:20 -04:00
Anthony Koo
8598a7221e
drm/amd/display: [FW Promotion] Release 1.0.12
...
[Header Changes]
- Combine all interface dependencies between driver and fw into a
single header file
- Add FW Versioning to the dmub_cmd.h file
Signed-off-by: Anthony Koo <Anthony.Koo@amd.com >
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2020-05-28 14:00:51 -04:00
Anthony Koo
84034ad4c0
drm/amd/display: combine public interfaces into single header
...
[Why]
We want to better encapsulate all driver-fw dependencies into a single
file.
[How]
Combine all the headers under inc folder into a single header
Signed-off-by: Anthony Koo <Anthony.Koo@amd.com >
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com >
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2020-05-28 14:00:51 -04:00
Anthony Koo
7b8a6362fa
drm/amd/display: FW release 1.0.10
...
Signed-off-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-05-28 14:00:48 -04:00
Yongqiang Sun
474ac4a875
drm/amd/display: Implement some asic specific abm call backs.
...
[Why & How]
Implement abm set_pipe call stacks
Have some asics speicifc call stacks for abm.
Signed-off-by: Yongqiang Sun <yongqiang.sun@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-05-28 14:00:48 -04:00
Anthony Koo
e3f36d18eb
drm/amd/display: Add struct field for future use
...
Add dmub related struct field for future use.
Signed-off-by: Anthony Koo <Anthony.Koo@amd.com >
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com >
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2020-05-05 13:12:40 -04:00
Yongqiang Sun
18400f91c1
drm/amd/display: Add panel cntl id for set backlight level.
...
[Why & How]
Add panel cntl instance when calling set backlight.
Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com >
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com >
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com >
Acked-by: Tony Cheng <Tony.Cheng@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2020-04-28 16:19:24 -04:00
Anthony Koo
d3b18f8c6f
drm/amd/display: clean up some header paths
...
[Why]
Some include paths don't need to have relative paths
And some types missing
[How]
make some changes to headers and modify include path
Signed-off-by: Anthony Koo <Anthony.Koo@amd.com >
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com >
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2020-04-28 16:17:29 -04:00
Wyatt Wood
bccbf13dad
drm/amd/display: Various fixes for PSR on DMCUB
...
[Why]
- Driver does not recognize new definitions of psr states.
- Internal tool is required for checking if psr is active.
[How]
- Parse psr state correctly so that driver will recognize psr state.
- Add visual confirmation that psr is active using existing mechanisms.
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:48 -04:00
Wyatt Wood
16012806e6
drm/amd/display: Add ABM driver implementation
...
[Why]
Moving ABM from DMCU to DMCUB.
[How]
Add ABM driver files and implementation.
Signed-off-by: Wyatt Wood <wyatt.wood@amd.com >
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com >
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2020-04-01 14:44:44 -04:00
Wyatt Wood
e6ea8c342f
drm/amd/display: Add ABM command structs to DMCUB
...
[Why]
Moving ABM from DMCU to DMCUB.
[How]
Add ABM command structs.
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-03-05 00:31:31 -05:00
Wyatt Wood
5c4a6d6297
drm/amd/display: Remove unused values from psr struct
...
[Why]
Taking up unnecessary space.
[How]
Remove unused values from psr struct.
Signed-off-by: Wyatt Wood <wyatt.wood@amd.com >
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com >
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2020-02-11 11:49:42 -05:00
Wyatt Wood
d4b8573ef0
drm/amd/display: Add set psr version message
...
[Why]
Must know psr version during runtime.
[How]
Add set psr version message structures.
Signed-off-by: Wyatt Wood <wyatt.wood@amd.com >
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com >
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2020-02-06 15:04:36 -05:00
Yongqiang Sun
bae9c49bf0
drm/amd/display: Only program surface flip for video plane via dmcub
...
Only need to do surface flip for video plane via dmcub.
Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com >
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com >
Acked-by: Harry Wentland <harry.wentland@amd.com >
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2020-01-16 14:16:33 -05:00
Yongqiang Sun
22aa56145f
drm/amd/display: Refactor surface flip programming
...
Rework surface programming for RN to separate preparing parameters and
register programming.
Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com >
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com >
Acked-by: Harry Wentland <harry.wentland@amd.com >
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2020-01-16 14:14:02 -05:00
Wyatt Wood
ec256f449c
drm/amd/display: DMCUB FW Changes to support PSR
...
[Why]
Moving PSR from DMCU to DMCUB.
[How]
Cleanup psr spec files and add PSR hw programming files.
No functionality is included in this change.
Signed-off-by: Wyatt Wood <wyatt.wood@amd.com >
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com >
Acked-by: Harry Wentland <harry.wentland@amd.com >
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2020-01-16 14:13:46 -05:00
Yongqiang Sun
8c0192533c
drm/amd/display: programing surface flip by dmcub.
...
Programming surface flip addresses via dmcub uC for optimizing the data
flush.
Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com >
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com >
Acked-by: Harry Wentland <harry.wentland@amd.com >
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2020-01-16 14:13:38 -05:00
Wyatt Wood
4c1a1335df
drm/amd/display: Driverside changes to support PSR in DMCUB
...
[Why]
Moving PSR from DMCU to DMCUB.
[How]
Add driverside PSR changes required to send inbox messages to fw.
These changes are non-functional until the psr structure allocation
is uncommented.
Signed-off-by: Wyatt Wood <wyatt.wood@amd.com >
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com >
Acked-by: Harry Wentland <harry.wentland@amd.com >
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2020-01-16 14:13:23 -05:00
Nicholas Kazlauskas
d4bbcecb59
drm/amd/display: Split DMUB cmd type into type/subtype
...
[Why]
Commands will be considered a stable ABI between driver and firmware.
Commands are also split between DC commands, DAL feature commands,
and VBIOS commands.
Commands are currently not designated to a specific ID and the enum
does not provide a stable ABI.
We currently group all of these into a single command type of 8-bits.
With the stable ABI consideration in mind it's not unreasonable to
run out of command IDs.
For cleaner separation and versioning split the commands into a main
type and a subtype.
[How]
For commands where performance matters (like reg sequences) these
are still considered main commands.
Sub commands will be split by ownership/feature.
Update existing command sequences to reflect new changes.
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com >
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com >
Acked-by: Leo Li <sunpeng.li@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2019-12-05 16:30:35 -05:00
Nicholas Kazlauskas
f020220e16
drm/amd/display: Add Navi10 DMUB VBIOS code
...
[Why]
We need some extra dmub_cmd_type for NV10
[How]
Add command table functions in DMUB firmware.
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com >
Signed-off-by: Xiong Yan <Xiong.Yan@amd.com >
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com >
Acked-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com >
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2019-11-19 10:12:53 -05:00
Nicholas Kazlauskas
7c008829cd
drm/amd/display: Add the DMUB service
...
The DMUB service is the interface to the DMCUB.
It's required to support Renoir features so it will be enabled and
compiled automatically when the Renoir display engine is enabled via
CONFIG_DRM_AMD_DC_DCN2_1.
DMUB code will initially be guarded by CONFIG_DRM_AMD_DC_DMUB and later
switched to CONFIG_DRM_AMD_DC_DCN2_1 with the config option dropped.
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com >
Reviewed-by: Hersen Wu <hersenxs.wu@amd.com >
Acked-by: Harry Wentland <harry.wentland@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2019-11-13 15:29:42 -05:00