Taimur Hassan
e8c7156240
drm/amd/display: [FW Promotion] Release 0.1.46.0
...
Add some struct member and enum for panel replay
Acked-by: Wayne Lin <wayne.lin@amd.com >
Signed-off-by: Taimur Hassan <Syed.Hassan@amd.com >
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2026-02-12 15:16:23 -05:00
Taimur Hassan
7c1ed3dc67
drm/amd/display: [FW Promotion] Release 0.1.45.0
...
Add new enum definition for panel replay ml activity options.
Acked-by: ChiaHsuan Chung <chiahsuan.chung@amd.com >
Signed-off-by: Taimur Hassan <Syed.Hassan@amd.com >
Signed-off-by: Wayne Lin <wayne.lin@amd.com >
Tested-by: Dan Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2026-02-03 16:43:41 -05:00
Taimur Hassan
0f2828150f
drm/amd/display: [FW Promotion] Release 0.1.44.0
...
* Panel Replay related features/bugfixes
* BootCRC feature
Signed-off-by: Taimur Hassan <Syed.Hassan@amd.com >
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.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 >
2026-01-27 18:11:22 -05:00
Wayne Lin
6cf32edb5d
drm/amd/display: Enable bootcrc on FW side
...
[Why]
The bootcrc feature is controlled on the FW side.
[How]
Pass the control bits in boot options to FW.
Reviewed-by: ChiaHsuan (Tom) Chung <chiahsuan.chung@amd.com >
Signed-off-by: Wayne Lin <Wayne.Lin@amd.com >
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com >
Tested-by: Dan Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2026-01-27 18:10:38 -05:00
Alex Hung
4321c5cac7
drm/amd/display: Remove coverity comments and fix spaces
...
[WHAT]
Coverity annotation is useless and thus is removed along with other fixes
for spacing errors.
Signed-off-by: Alex Hung <alex.hung@amd.com >
Signed-off-by: Matthew Stewart <Matthew.Stewart2@amd.com >
Tested-by: Dan Wheeler <daniel.wheeler@amd.com >
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2026-01-20 17:25:34 -05:00
Taimur Hassan
15acb306c9
drm/amd/display: [FW Promotion] Release 0.1.42.0
...
Summary for changes in firmware:
* Fix 24/30FPS full screen video low residency
* Fix 60Hz video playback freeze
* Add Panel Replay command for VESA replay
Signed-off-by: Taimur Hassan <Syed.Hassan@amd.com >
Signed-off-by: Matthew Stewart <matthew.stewart2@amd.com >
Tested-by: Dan Wheeler <daniel.wheeler@amd.com >
Acked-by: Leo Li <sunpeng.li@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2026-01-10 14:21:54 -05:00
Robin Chen
16ac1b6a6b
drm/amd/display: Remove unused DMUB replay commands
...
[WHY]
Remove unused DMUB Replay set version command and related code.
Reviewed-by: Jack Chang <jack.chang@amd.com >
Signed-off-by: Robin Chen <robin.chen@amd.com >
Signed-off-by: Matthew Stewart <matthew.stewart2@amd.com >
Tested-by: Dan Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2026-01-10 14:21:52 -05:00
Dillon Varone
7fcf883200
drm/amd/display: Add new fields to fams2 config
...
[WHY&HOW]
Adds new fields to the fams2 configuration structure.
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com >
Signed-off-by: Dillon Varone <Dillon.Varone@amd.com >
Signed-off-by: Chenyu Chen <chen-yu.chen@amd.com >
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2026-01-05 16:59:59 -05:00
Dillon Varone
11dbb6d7b2
drm/amd/display: Consolidate dmub fb info to a single struct
...
[WHY&HOW]
Consolidate dmub fb info into a single structure to simplify translation
between components.
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com >
Signed-off-by: Dillon Varone <Dillon.Varone@amd.com >
Signed-off-by: Chenyu Chen <chen-yu.chen@amd.com >
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2026-01-05 16:59:59 -05:00
Taimur Hassan
d8e4e7086a
drm/amd/display: [FW Promotion] Release 0.1.40.0
...
Summary for changes in firmware:
* Update DCHVM restore sequence for dcn35
* Add 2 new debug polling methods for dchvm "busy" during IPS entry for DCN35
Signed-off-by: Taimur Hassan <Syed.Hassan@amd.com >
Signed-off-by: Chenyu Chen <chen-yu.chen@amd.com >
Acked-by: Wayne Lin <Wayne.Lin@amd.com >
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-12-16 13:26:21 -05:00
Taimur Hassan
d28e92093c
drm/amd/display: [FW Promotion] Release 0.1.37.0
...
Add a new disallow_time_us state and a new legacy_method_no_fams2 flag
to fam2.
Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com >
Signed-off-by: Taimur Hassan <Syed.Hassan@amd.com >
Signed-off-by: Alex Hung <alex.hung@amd.com >
Tested-by: Dan Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-12-08 13:56:38 -05:00
Ovidiu Bunea
e1b385726f
drm/amd/display: Add additional checks for PSP footer size
...
[WHY & HOW]
Newer ASICs have different PSP footer sizes which lead to driver
failing to locate the DMCUB FW meta info, which in turn causes
improper DMCUB FW loading and causes DMCUB to crash.
Add support for custom PSP footer sizes and check 512B by default
as well.
Reviewed-by: Charlene Liu <charlene.liu@amd.com >
Signed-off-by: Ovidiu Bunea <ovidiu.bunea@amd.com >
Signed-off-by: Alex Hung <alex.hung@amd.com >
Tested-by: Dan Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-12-08 13:56:37 -05:00
Taimur Hassan
a8d5d90708
drm/amd/display: Ignore Coverity false positive
...
[Why&How]
Ignore Coverity false positive analysis in the dmub_cmd.h
Reviewed-by: Leo Li <sunpeng.li@amd.com >
Signed-off-by: Taimur Hassan <Syed.Hassan@amd.com >
Signed-off-by: Ivan Lipski <ivan.lipski@amd.com >
Tested-by: Dan Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-11-18 10:52:11 -05:00
Taimur Hassan
c7ade7cbca
drm/amd/display: [FW Promotion] Release 0.1.35.0
...
Summary for changes in firmware:
* Use panel_inst instead of otg_inst when getting fw state
* Contrast strength improves when HDR desktop mode
* Ensure pipes have no outstanding HUBP requests prior to IPS RCG entry
* Check for vm request and vm idle status in IPS1/2 entry sequence
Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com >
Signed-off-by: Taimur Hassan <Syed.Hassan@amd.com >
Signed-off-by: Fangzhi Zuo <jerry.zuo@amd.com >
Tested-by: Dan Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-11-11 21:54:16 -05:00
Alvin Lee
edcace98fd
drm/amd/display: Only initialize LSDMA if it is supported in DMU
...
Need to check caps flag to determine whether LSDMA is supported in DMU
Reviewed-by: Rafal Ostrowski <rafal.ostrowski@amd.com >
Signed-off-by: Alvin Lee <Alvin.Lee2@amd.com >
Signed-off-by: Fangzhi Zuo <jerry.zuo@amd.com >
Tested-by: Dan Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-11-11 21:54:15 -05:00
Taimur Hassan
3f0c27edd8
drm/amd/display: [FW Promotion] Release 0.1.34.0
...
Release hightlights
DCN35/36
* Dynamically clock gate before and after prefetch
Acked-by: Wayne Lin <Wayne.Lin@amd.com >
Signed-off-by: Taimur Hassan <Syed.Hassan@amd.com >
Signed-off-by: Ray Wu <ray.wu@amd.com >
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-11-04 11:53:21 -05:00
Alvin Lee
54963d18a8
drm/amd/display: Increase IB mem size
...
[Why & How]
Increase IB mem size to match size of largest structure that will
use IB transfer between driver and DMU.
Reviewed-by: Oleh Kuzhylnyi <oleh.kuzhylnyi@amd.com >
Signed-off-by: Alvin Lee <Alvin.Lee2@amd.com >
Signed-off-by: Ray Wu <ray.wu@amd.com >
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-11-04 11:53:20 -05:00
Taimur Hassan
020ee49ce9
drm/amd/display: [FW Promotion] Release 0.1.33.0
...
[Why & How]
- Extend reply debug flags, define a new bit as debug_log_enabled
- Replace the padding to frame_skip_number in struct
dmub_cmd_replay_set_coasting_vtotal_data
Acked-by: Tom Chung <chiahsuan.chung@amd.com >
Signed-off-by: Taimur Hassan <Syed.Hassan@amd.com >
Signed-off-by: Wayne Lin <wayne.lin@amd.com >
Tested-by: Dan Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-10-28 09:59:09 -04:00
Meenakshikumar Somasundaram
fb3896c18b
drm/amd/display: Add dc interface to log pre os firmware information
...
[Why]
Pre os firmware information is useful to debug pre os to post os fw
transition issues.
[How]
Add dc interface dc_log_preos_dmcub_info() to log pre os firmware
information.
Reviewed-by: Cruise Hung <cruise.hung@amd.com >
Signed-off-by: Meenakshikumar Somasundaram <meenakshikumar.somasundaram@amd.com >
Signed-off-by: Wayne Lin <wayne.lin@amd.com >
Tested-by: Dan Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-10-28 09:58:11 -04:00
Dillon Varone
423ef48d41
drm/amd/display: Fix DMUB reset sequence for DCN32
...
[WHY&HOW]
Backport reset sequence fixes implemented on DCN401 to DCN32 to address
stability issues when resetting the DMUB.
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com >
Signed-off-by: Dillon Varone <Dillon.Varone@amd.com >
Signed-off-by: Wayne Lin <wayne.lin@amd.com >
Tested-by: Dan Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-10-28 09:57:21 -04:00
Cruise Hung
1319fb80b3
drm/amd/display: Control BW allocation in FW side
...
[Why]
The BW allocation feature should be controlled in FW side.
[How]
Pass the control bit to FW boot option.
Reviewed-by: Meenakshikumar Somasundaram <meenakshikumar.somasundaram@amd.com >
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com >
Signed-off-by: Cruise Hung <Cruise.Hung@amd.com >
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com >
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-10-20 18:26:33 -04:00
Taimur Hassan
0c07085e5c
drm/amd/display: [FW Promotion] Release 0.1.31.0
...
Release highlights:
DCN35/351/36:
* fix video lag with replay
* DPP DTO programming sequence fix
* IPS exit programming sequence fix
DCN 3.1.5:
* fix video lag with replay
Signed-off-by: Taimur Hassan <Syed.Hassan@amd.com >
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com >
Reviewed-by: Alex Hung <alex.hung@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-10-20 18:25:00 -04:00
Taimur Hassan
6d40b93194
drm/amd/display: [FW Promotion] Release 0.1.30.0
...
Add new SMART_POWER_HDR commands to optimize power consumption on
certain OLED LED panels by sending MaxCLL per frame to TCON.
Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com >
Signed-off-by: Taimur Hassan <Syed.Hassan@amd.com >
Signed-off-by: Alex Hung <alex.hung@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-10-13 14:14:32 -04:00
Nicholas Kazlauskas
8e8691ecee
drm/amd/display: Driver implementation for cursor offloading to DMU
...
[Why]
We require an interlock between driver and firmware for upcoming
features and given that this could possibly happen on any single
cursor programming call (and that we can't asynchronously wait for
firmware to respond because of it) we'd be regressing cursor performance
by at least an extra 40us per call.
When we could possibly have cursor update every 20us - 100s from high
frequency gaming mice this means that we'd be stuttering or dropping
updates and impacting overall cursor performance.
We want a solution that can:
1. Interlock between other firmware features
2. Not stall out or require the DMCUB lock for every single update
[How]
When cursor offloading is enabled and supported by an ASIC driver will
route the cursor programming through to DMU as part of the regular
DC stream cursor programming interfaces for attributes and position.
The atomic pipe programming version will not be updated: this will still
follow the existing programming path by keeping track of a field that
specifies when the register writes should be deferred to DMU.
Cursor locking is not required when cursor offload is in progress since
the updates are consolidated and processed by DMU once at the end
of the frame in a periodic manner.
The shared buffer the firmware queries from is allocated along with the
rest of the scratch state region in an area that's accessible by
both firmware and driver.
The size of the cursor offload (v1) state will not change, but it does
have a unique union per ASIC version with room for expansion if needed.
When firmware features notifying DMU of DRR updates are not enabled we
now send an explicit vtotal min/max update via driver to DMU firmware
whenever the vtotal max changes. This is to allow the cursor programming
to determine the appropriate latch update point offset from vupdate.
Reviewed-by: Dillon Varone <dillon.varone@amd.com >
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com >
Signed-off-by: Alex Hung <alex.hung@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-10-13 14:14:32 -04:00
Taimur Hassan
a93b77655b
drm/amd/display: [FW Promotion] Release 0.1.29.0
...
Add new interface for offloading cursor programming to DMUB.
Reviewed-by: Sun peng (Leo) Li <sunpeng.li@amd.com >
Signed-off-by: Taimur Hassan <Syed.Hassan@amd.com >
Signed-off-by: Roman Li <roman.li@amd.com >
Tested-by: Dan Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-10-13 14:14:32 -04:00
Taimur Hassan
dff184cdba
drm/amd/display: [FW Promotion] Release 0.1.28.0
...
Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com >
Signed-off-by: Taimur Hassan <Syed.Hassan@amd.com >
Signed-off-by: Ivan Lipski <ivan.lipski@amd.com >
Tested-by: Dan Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-09-23 10:34:58 -04:00
Allen Li
b65cf4baeb
drm/amd/display: Add fast sync field in ultra sleep more for DMUB
...
[Why&How]
We need to inform DMUB whether fast sync in ultra sleep mode is supported,
so that it can disable desync error detection when the it is not enabled.
This helps prevent unexpected desync errors when transitioning out of
ultra sleep mode.
Add fast sync in ultra sleep mode field in replay copy setting command.
Reviewed-by: Robin Chen <robin.chen@amd.com >
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com >
Signed-off-by: Allen Li <wei-guang.li@amd.com >
Signed-off-by: Ivan Lipski <ivan.lipski@amd.com >
Tested-by: Dan Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-09-23 10:31:35 -04:00
Dave Airlie
342f141ba9
Merge tag 'amd-drm-next-6.18-2025-09-19' of https://gitlab.freedesktop.org/agd5f/linux into drm-next
...
amd-drm-next-6.18-2025-09-19:
amdgpu:
- Fence drv clean up fix
- DPC fixes
- Misc display fixes
- Support the MMIO remap page as a ttm pool
- JPEG parser updates
- UserQ updates
- VCN ctx handling fixes
- Documentation updates
- Misc cleanups
- SMU 13.0.x updates
- SI DPM updates
- GC 11.x cleaner shader updates
- DMCUB updates
- DML fixes
- Improve fallback handling for pixel encoding
- VCN reset improvements
- DCE6 DC updates
- DSC fixes
- Use devm for i2c buses
- GPUVM locking updates
- GPUVM documentation improvements
- Drop non-DC DCE11 code
- S0ix fixes
- Backlight fix
- SR-IOV fixes
amdkfd:
- SVM updates
Signed-off-by: Dave Airlie <airlied@redhat.com >
From: Alex Deucher <alexander.deucher@amd.com >
Link: https://lore.kernel.org/r/20250919193354.2989255-1-alexander.deucher@amd.com
2025-09-22 08:45:51 +10:00
Nicholas Kazlauskas
18e755155c
drm/amd/display: Fix DMCUB loading sequence for DCN3.2
...
[Why]
New sequence from HW for reset and firmware reloading has been
provided that aims to stabilize the reload sequence in the case the
firmware is hung or has outstanding requests.
[How]
Update the sequence to remove the DMUIF reset and the redundant
writes in the release.
Reviewed-by: Sreeja Golui <sreeja.golui@amd.com >
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com >
Signed-off-by: Ray Wu <ray.wu@amd.com >
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-09-15 16:57:21 -04:00
Dave Airlie
0d9f0083f7
Merge tag 'v6.17-rc6' into drm-next
...
This is a backmerge of Linux 6.17-rc6, needed for msm,
also requested by misc.
Signed-off-by: Dave Airlie <airlied@redhat.com >
2025-09-15 17:51:07 +10:00
Taimur Hassan
5e610ed48a
drm/amd/display: [FW Promotion] Release 0.1.25.0
...
Signed-off-by: Taimur Hassan <Syed.Hassan@amd.com >
Signed-off-by: Alex Hung <alex.hung@amd.com >
Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com >
Tested-by: Dan Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-08-29 10:23:09 -04:00
Taimur Hassan
3dc9c55d9c
drm/amd/display: [FW Promotion] Release 0.1.24.0
...
Add two new IPS residency data modes.
Signed-off-by: Taimur Hassan <Syed.Hassan@amd.com >
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com >
Reviewed-by: Leo Li <sunpeng.li@amd.com >
Tested-by: Dan Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-08-27 13:57:50 -04:00
Ausef Yousof
90868205b6
drm/amd/display: track dpia support
...
[why&how]
initialize a flag to track if we previously
supported dpia and write that to boot options
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com >
Reviewed-by: Meenakshikumar Somasundaram <meenakshikumar.somasundaram@amd.com >
Signed-off-by: Ausef Yousof <Ausef.Yousof@amd.com >
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com >
Tested-by: Dan Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-08-27 13:57:49 -04:00
Cruise Hung
8b715afa8f
drm/amd/display: Reserve instance index notified by DMUB
...
[Why]
Reserve instance index notified by DMUB.
[How]
Add new variable for instance index.
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com >
Signed-off-by: Cruise Hung <Cruise.Hung@amd.com >
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com >
Tested-by: Dan Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-08-27 13:57:49 -04:00
Gabe Teeger
0aa86640eb
drm/amd/display: Revert Add HPO encoder support to Replay
...
This reverts commits:
commit 1f26214d26 ("drm/amd/display: Add HPO encoder support to Replay")
commit 3bfce48b10 ("drm/amd/display: Add support for Panel Replay on DP1 eDP (panel_inst=1)")
due to visual confirm issue.
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com >
Signed-off-by: Gabe Teeger <gabe.teeger@amd.com >
Signed-off-by: Wayne Lin <wayne.lin@amd.com >
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
(cherry picked from commit 92f68f6a1b )
2025-08-18 17:41:43 -04:00
Taimur Hassan
eac4c50211
drm/amd/display: [FW Promotion] Release 0.1.23.0
...
1. Fix loop counter.
2. Check whether rb->capacity is 0.
Acked-by: Sun peng (Leo) Li <sunpeng.li@amd.com >
Signed-off-by: Taimur Hassan <Syed.Hassan@amd.com >
Signed-off-by: Alex Hung <alex.hung@amd.com >
Tested-by: Dan Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-08-18 16:58:52 -04:00
Taimur Hassan
7552bee9dd
drm/amd/display: [FW Promotion] Release 0.1.22.0
...
Add a new command for Panel Replay.
Acked-by: Wayne Lin <wayne.lin@amd.com >
Signed-off-by: Taimur Hassan <Syed.Hassan@amd.com >
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com >
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-08-11 11:13:35 -04:00
Jingwen Zhu
3df957517f
drm/amd/display: limited pll vco w/a v2
...
[Why/How]
The w/a will cause reboot black screen issue.
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com >
Signed-off-by: Jingwen Zhu <Jingwen.Zhu@amd.com >
Signed-off-by: Roman Li <roman.li@amd.com >
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-08-04 14:40:13 -04:00
Ovidiu Bunea
327aba7f55
drm/amd/display: Fix dmub_cmd header alignment
...
[why & how]
Header misalignment in struct dmub_cmd_replay_copy_settings_data and
struct dmub_alpm_auxless_data causes incorrect data read between driver
and dmub.
Fix the misalignment and ensure that everything is aligned to 4-byte
boundaries.
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com >
Signed-off-by: Ovidiu Bunea <ovidiu.bunea@amd.com >
Signed-off-by: Ivan Lipski <ivan.lipski@amd.com >
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-07-28 16:40:31 -04:00
Ovidiu Bunea
b86cba1188
drm/amd/display: Revert "Add a config flag for limited_pll_vco"
...
This reverts commit 82139760dc .
[why & how]
DMUB header changes should be submitted to firmware branch first and
allowed to propagate to driver. Currently, this change breaks linux
builds so need to revert it until it's ready.
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com >
Signed-off-by: Ovidiu Bunea <ovidiu.bunea@amd.com >
Signed-off-by: Ivan Lipski <ivan.lipski@amd.com >
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-07-28 16:40:08 -04:00
Jingwen Zhu
82139760dc
drm/amd/display: Add a config flag for limited_pll_vco
...
[Why/How]
Added a new config flag to pass to the DMUB during boot.
This workaround will solves black screen issue on reboot.
Reviewed-by: Hansen Dsouza <hansen.dsouza@amd.com >
Signed-off-by: Jingwen Zhu <Jingwen.Zhu@amd.com >
Signed-off-by: Ivan Lipski <ivan.lipski@amd.com >
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-07-28 16:40:08 -04:00
Taimur Hassan
9dd3146ff7
drm/amd/display: [FW Promotion] Release 0.1.19.0
...
Update DMUB related command structure.
Acked-by: Tom Chung <chiahsuan.chung@amd.com >
Signed-off-by: Taimur Hassan <Syed.Hassan@amd.com >
Signed-off-by: Wayne Lin <wayne.lin@amd.com >
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-07-28 16:40:05 -04:00
Gabe Teeger
92f68f6a1b
drm/amd/display: Revert Add HPO encoder support to Replay
...
This reverts commits:
commit 1f26214d26 ("drm/amd/display: Add HPO encoder support to Replay")
commit 3bfce48b10 ("drm/amd/display: Add support for Panel Replay on DP1 eDP (panel_inst=1)")
due to visual confirm issue.
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com >
Signed-off-by: Gabe Teeger <gabe.teeger@amd.com >
Signed-off-by: Wayne Lin <wayne.lin@amd.com >
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-07-28 16:40:05 -04:00
Taimur Hassan
3f92c7b329
drm/amd/display: [FW Promotion] Release 0.1.18.0
...
Add new mode in struct ips_residency_mode
Acked-by: Tom Chung <chiahsuan.chung@amd.com >
Signed-off-by: Taimur Hassan <Syed.Hassan@amd.com >
Signed-off-by: Wayne Lin <wayne.lin@amd.com >
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-07-28 16:40:05 -04:00
Ovidiu Bunea
1f26214d26
drm/amd/display: Add HPO encoder support to Replay
...
[why & how]
UHBR link rate capable eDPs will use HPO for encoding. Need to pass
HPO stream and link encoder instances to DMCUB for Replay FSM to
know which instances to use.
Reviewed-by: Charlene Liu <charlene.liu@amd.com >
Signed-off-by: Ovidiu Bunea <Ovidiu.Bunea@amd.com >
Signed-off-by: Ivan Lipski <ivan.lipski@amd.com >
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-07-15 14:07:52 -04:00
Leo Chen
42fcf48f7b
drm/amd/display: New Behavior for debug option disable_ips_in_vpb
...
[Why & How]
To facilitate debugging, the following behaviors are defined for existing
debug option disable_ips_in_vpb
0 - Enable IPS in LVP - let driver decide (legacy)
1 - Disable IPS in LVP
2 - Enable IPS1 and RCG in LVP
3 - Enable IPS1 Z8, IPS1 and RCG in LVP
Reviewed-by: Duncan Ma <duncan.ma@amd.com >
Signed-off-by: Leo Chen <leo.chen@amd.com >
Signed-off-by: Ivan Lipski <ivan.lipski@amd.com >
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-07-15 14:07:52 -04:00
Leo Chen
f9dbe8eb1b
drm/amd/display: Adding missing driver code for IPSv2.0
...
[Why & How]
Aligned IPS FW state with DMCUB IPS FW state
Added debug option disable_ips_rcg to modify RCG behaviour in IPS modes.
Updated existing debug option disable_ips to align with new changes introduced by IPSv2.0
Reviewed-by: Duncan Ma <duncan.ma@amd.com >
Signed-off-by: Leo Chen <leo.chen@amd.com >
Signed-off-by: Ivan Lipski <ivan.lipski@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-07-15 14:07:52 -04:00
Taimur Hassan
5e0d1c5d26
drm/amd/display: [FW Promotion] Release 0.1.17.0
...
Summary for changes in firmware:
* Add AMD brightness adjustment feature for edp
* Fix BL enable
* Revise low power init sequence
* Fix brightness delta after IPS1 entry
* Adjusted DP blanking sequence
Acked-by: Wayne Lin <Wayne.Lin@amd.com >
Signed-off-by: Taimur Hassan <Syed.Hassan@amd.com >
Signed-off-by: Ray Wu <ray.wu@amd.com >
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-06-30 11:59:34 -04:00
Taimur Hassan
623ea7019f
drm/amd/display: [FW Promotion] Release 0.1.16.0
...
Summary for changes in firmware:
* Add DMCUB IPS commands and command parser support
* use OTG count to disable interrupts
* Fix dmub_cmd header data boundary issue
* remove the HW register override
Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com >
Signed-off-by: Taimur Hassan <Syed.Hassan@amd.com >
Signed-off-by: Fangzhi Zuo <jerry.zuo@amd.com >
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-06-24 09:58:27 -04:00
Ovidiu Bunea
c44120dffe
drm/amd/display: Add DMUB IPS command support for IPS residency tools
...
[why & how]
Add DMUB IPS CMD interface for driver and
DMU to communicate for IPS residency tools.
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com >
Signed-off-by: Ovidiu Bunea <Ovidiu.Bunea@amd.com >
Signed-off-by: Fangzhi Zuo <jerry.zuo@amd.com >
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-06-24 09:58:22 -04:00