|
Revision tags: v6.15, v6.15-rc7, v6.15-rc6, v6.15-rc5, v6.15-rc4, v6.15-rc3, v6.15-rc2, v6.15-rc1, v6.14, v6.14-rc7, v6.14-rc6, v6.14-rc5, v6.14-rc4, v6.14-rc3, v6.14-rc2, v6.14-rc1, v6.13, v6.13-rc7, v6.13-rc6, v6.13-rc5, v6.13-rc4, v6.13-rc3 |
|
| #
ff2e4d87 |
| 09-Dec-2024 |
Leo Li <[email protected]> |
drm/amd/display: Do not wait for PSR disable on vbl enable
[Why]
Outside of a modeset/link configuration change, we should not have to wait for the panel to exit PSR. Depending on the panel and it'
drm/amd/display: Do not wait for PSR disable on vbl enable
[Why]
Outside of a modeset/link configuration change, we should not have to wait for the panel to exit PSR. Depending on the panel and it's state, it may take multiple frames for it to exit PSR. Therefore, waiting in all scenarios may cause perceived stuttering, especially in combination with faster vblank shutdown.
[How]
PSR1 disable is hooked up to the vblank enable event, and vice versa. In case of vblank enable, do not wait for panel to exit PSR, but still wait in all other cases.
We also avoid a call to unnecessarily change power_opts on disable - this ends up sending another command to dmcub fw.
When testing against IGT, some crc tests like kms_plane_alpha_blend and amd_hotplug were failing due to CRC timeouts. This was found to be caused by the early return before HW has fully exited PSR1. Fix this by first making sure we grab a vblank reference, then waiting for panel to exit PSR1, before programming hw for CRC generation.
Fixes: 58a261bfc967 ("drm/amd/display: use a more lax vblank enable policy for older ASICs") Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3743 Reviewed-by: Tom Chung <[email protected]> Signed-off-by: Leo Li <[email protected]> Signed-off-by: Tom Chung <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]> (cherry picked from commit aa6713fa2046f4c09bf3013dd1420ae15603ca6f) Cc: [email protected]
show more ...
|
| #
aa6713fa |
| 09-Dec-2024 |
Leo Li <[email protected]> |
drm/amd/display: Do not wait for PSR disable on vbl enable
[Why]
Outside of a modeset/link configuration change, we should not have to wait for the panel to exit PSR. Depending on the panel and it'
drm/amd/display: Do not wait for PSR disable on vbl enable
[Why]
Outside of a modeset/link configuration change, we should not have to wait for the panel to exit PSR. Depending on the panel and it's state, it may take multiple frames for it to exit PSR. Therefore, waiting in all scenarios may cause perceived stuttering, especially in combination with faster vblank shutdown.
[How]
PSR1 disable is hooked up to the vblank enable event, and vice versa. In case of vblank enable, do not wait for panel to exit PSR, but still wait in all other cases.
We also avoid a call to unnecessarily change power_opts on disable - this ends up sending another command to dmcub fw.
When testing against IGT, some crc tests like kms_plane_alpha_blend and amd_hotplug were failing due to CRC timeouts. This was found to be caused by the early return before HW has fully exited PSR1. Fix this by first making sure we grab a vblank reference, then waiting for panel to exit PSR1, before programming hw for CRC generation.
Fixes: 58a261bfc967 ("drm/amd/display: use a more lax vblank enable policy for older ASICs") Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3743 Reviewed-by: Tom Chung <[email protected]> Signed-off-by: Leo Li <[email protected]> Signed-off-by: Tom Chung <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
|
Revision tags: v6.13-rc2, v6.13-rc1, v6.12, v6.12-rc7, v6.12-rc6 |
|
| #
44cea2bb |
| 31-Oct-2024 |
Wayne Lin <[email protected]> |
drm/amd/display: Extend secure display to support DisplayCRC mode
[Why] For the legacy secure display, it involves PSP + DMUB to confgiure and retrieve the CRC/ROI result. Have requirement to suppor
drm/amd/display: Extend secure display to support DisplayCRC mode
[Why] For the legacy secure display, it involves PSP + DMUB to confgiure and retrieve the CRC/ROI result. Have requirement to support mode which all handled by driver only.
[How] Add another "DisplayCRC" mode, which doesn't involve PSP + DMUB. All things are handled by the driver only
Reviewed-by: HaoPing Liu <[email protected]> Signed-off-by: Wayne Lin <[email protected]> Signed-off-by: Tom Chung <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
b6fcc386 |
| 06-Dec-2024 |
Wayne Lin <[email protected]> |
drm/amd/display: Add support to configure CRC window on specific CRC instance
[Why] Have the need to specify the CRC window on specific CRC engine. dc_stream_configure_crc() today calculates CRC on
drm/amd/display: Add support to configure CRC window on specific CRC instance
[Why] Have the need to specify the CRC window on specific CRC engine. dc_stream_configure_crc() today calculates CRC on crc engine 0 only and always resets CRC engine at first.
[How] Add index parameter to dc_stream_configure_crc() for selecting the desired crc engine. Additionally, add another parameter to specify whether to skip the default reset of crc engine.
Reviewed-by: HaoPing Liu <[email protected]> Signed-off-by: Wayne Lin <[email protected]> Signed-off-by: Tom Chung <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
|
Revision tags: v6.12-rc5, v6.12-rc4, v6.12-rc3, v6.12-rc2, v6.12-rc1 |
|
| #
1e36774f |
| 25-Sep-2024 |
Wayne Lin <[email protected]> |
drm/amd/display: Extend capability to get multiple ROI CRCs
[Why & How] We already extend our dm, dc and dmub to support setting of multiple CRC instances, now extend the capability to return back t
drm/amd/display: Extend capability to get multiple ROI CRCs
[Why & How] We already extend our dm, dc and dmub to support setting of multiple CRC instances, now extend the capability to return back the ROI/CRC pair result from psp by specifying activated ROI instances.
Reviewed-by: HaoPing Liu <[email protected]> Signed-off-by: Wayne Lin <[email protected]> Signed-off-by: Roman Li <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
|
Revision tags: v6.11, v6.11-rc7, v6.11-rc6, v6.11-rc5, v6.11-rc4, v6.11-rc3, v6.11-rc2, v6.11-rc1 |
|
| #
9a45ad15 |
| 22-Jul-2024 |
Wayne Lin <[email protected]> |
drm/amd/display: Adjust dm to use supported interfaces for setting multiple crc windows
[Why & How] We actually have the capability to calculate independent CRC for 2 crc window at the same time. Ex
drm/amd/display: Adjust dm to use supported interfaces for setting multiple crc windows
[Why & How] We actually have the capability to calculate independent CRC for 2 crc window at the same time. Extend dm with the capability by having array to configure/maintain multiple crc windows. Add the flexibility but use 1st CRC instance only for now. Can change to use the 2nd CRC instance if needed.
Reviewed-by: HaoPing Liu <[email protected]> Signed-off-by: Wayne Lin <[email protected]> Signed-off-by: Roman Li <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
10008a96 |
| 23-Jul-2024 |
Wayne Lin <[email protected]> |
drm/amd/display: Extend dc_stream_get_crc to support 2nd crc engine
[Why & How] Since now we can set multiple crc windows for secure display, add a new input parameter for dc_stream_get_crc to indic
drm/amd/display: Extend dc_stream_get_crc to support 2nd crc engine
[Why & How] Since now we can set multiple crc windows for secure display, add a new input parameter for dc_stream_get_crc to indicate to fetch crc from which crc engine.
Reviewed-by: HaoPing Liu <[email protected]> Signed-off-by: Wayne Lin <[email protected]> Signed-off-by: Roman Li <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
6f685a81 |
| 12-Dec-2024 |
Jiapeng Chong <[email protected]> |
drm/amd/display: use swap() in update_phy_id_mapping()
Use existing swap() function rather than duplicating its implementation.
./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c:185:47-48: WA
drm/amd/display: use swap() in update_phy_id_mapping()
Use existing swap() function rather than duplicating its implementation.
./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c:185:47-48: WARNING opportunity for swap(). ./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c:125:53-54: WARNING opportunity for swap().
Reported-by: Abaci Robot <[email protected]> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=12335 Signed-off-by: Jiapeng Chong <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
58a8467a |
| 31-Oct-2024 |
Wayne Lin <[email protected]> |
drm/amd/display: Adjust secure_display_context data structure
[Why] Variables relates to secure display are spreading out within struct amdgpu_display_manager.
[How] Encapsulate relevant variables
drm/amd/display: Adjust secure_display_context data structure
[Why] Variables relates to secure display are spreading out within struct amdgpu_display_manager.
[How] Encapsulate relevant variables into struct secure_display_context and adjust relevant affected codes.
Reviewed-by: HaoPing Liu <[email protected]> Signed-off-by: Wayne Lin <[email protected]> Signed-off-by: Aurabindo Pillai <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
34b6c4b1 |
| 25-Jul-2024 |
Wayne Lin <[email protected]> |
drm/amd/display: Fix phy id mapping issue for secure display
[Why] Under mst scenario, mst streams are from the same link_enc_hw_inst. As the result, can't utilize that as the phy index for distingu
drm/amd/display: Fix phy id mapping issue for secure display
[Why] Under mst scenario, mst streams are from the same link_enc_hw_inst. As the result, can't utilize that as the phy index for distinguising different stream sinks.
[How] Sort the connectors by: link_enc_hw_instance->mst tree depth->mst RAD
After sorting the phy index assignment, store connector's relevant info into dm mapping array. Once need the index, just look up the static array.
Reviewed-by: HaoPing Liu <[email protected]> Signed-off-by: Wayne Lin <[email protected]> Signed-off-by: Aurabindo Pillai <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
37a8f9b0 |
| 06-Aug-2024 |
Wayne Lin <[email protected]> |
drm/amd/display: Adjust dc_stream_forward_crc_window to accept assignment of phy_id
[Why] For mst streams under same topology, stream->link->link_enc_hw_inst are the same and hence can't distinguish
drm/amd/display: Adjust dc_stream_forward_crc_window to accept assignment of phy_id
[Why] For mst streams under same topology, stream->link->link_enc_hw_inst are the same and hence can't distinguish the crc window setting.
[How] Firstly adjust dc_stream_forward_crc_window to accept assignment of phy_id. Follow up another patch to determine the phy_id at dm layer.
Reviewed-by: HaoPing Liu <[email protected]> Signed-off-by: Wayne Lin <[email protected]> Signed-off-by: Aurabindo Pillai <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
|
Revision tags: v6.10, v6.10-rc7, v6.10-rc6, v6.10-rc5, v6.10-rc4, v6.10-rc3, v6.10-rc2, v6.10-rc1, v6.9, v6.9-rc7, v6.9-rc6, v6.9-rc5, v6.9-rc4, v6.9-rc3, v6.9-rc2, v6.9-rc1, v6.8, v6.8-rc7, v6.8-rc6, v6.8-rc5, v6.8-rc4, v6.8-rc3, v6.8-rc2, v6.8-rc1, v6.7, v6.7-rc8, v6.7-rc7, v6.7-rc6, v6.7-rc5, v6.7-rc4 |
|
| #
7db7ade2 |
| 01-Dec-2023 |
Harry Wentland <[email protected]> |
drm/amd/display: Skip writeback connector when we get amdgpu_dm_connector
[WHY] Writeback connectors are based on a different object: drm_writeback_connector, and are therefore different from amdgpu
drm/amd/display: Skip writeback connector when we get amdgpu_dm_connector
[WHY] Writeback connectors are based on a different object: drm_writeback_connector, and are therefore different from amdgpu_dm_connector. We need to be careful to ensure code designed for amdgpu_dm_connector doesn't inadvertently try to operate on a drm_writeback_connector.
[HOW] Skip them when connector type is DRM_MODE_CONNECTOR_WRITEBACK.
Tested-by: Daniel Wheeler <[email protected]> Reviewed-by: Alex Hung <[email protected]> Signed-off-by: Harry Wentland <[email protected]> Signed-off-by: Alex Hung <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
|
Revision tags: v6.7-rc3, v6.7-rc2, v6.7-rc1, v6.6, v6.6-rc7, v6.6-rc6 |
|
| #
7f550402 |
| 11-Oct-2023 |
Alex Hung <[email protected]> |
Revert "drm/amd/display: Skip writeback connector when we get amdgpu_dm_connector"
This reverts commit 30a24318cc8f4947c6567c78997c8deb546e7a0b.
[WHY & HOW] The writeback series cause a regression
Revert "drm/amd/display: Skip writeback connector when we get amdgpu_dm_connector"
This reverts commit 30a24318cc8f4947c6567c78997c8deb546e7a0b.
[WHY & HOW] The writeback series cause a regression in thunderbolt display.
Signed-off-by: Alex Hung <[email protected]> Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
|
Revision tags: v6.6-rc5, v6.6-rc4, v6.6-rc3, v6.6-rc2, v6.6-rc1, v6.5, v6.5-rc7, v6.5-rc6, v6.5-rc5, v6.5-rc4, v6.5-rc3, v6.5-rc2, v6.5-rc1, v6.4, v6.4-rc7, v6.4-rc6, v6.4-rc5, v6.4-rc4, v6.4-rc3, v6.4-rc2, v6.4-rc1, v6.3, v6.3-rc7, v6.3-rc6, v6.3-rc5, v6.3-rc4, v6.3-rc3, v6.3-rc2, v6.3-rc1, v6.2, v6.2-rc8, v6.2-rc7, v6.2-rc6, v6.2-rc5, v6.2-rc4, v6.2-rc3, v6.2-rc2, v6.2-rc1, v6.1, v6.1-rc8, v6.1-rc7, v6.1-rc6, v6.1-rc5, v6.1-rc4, v6.1-rc3 |
|
| #
30a24318 |
| 27-Oct-2022 |
Harry Wentland <[email protected]> |
drm/amd/display: Skip writeback connector when we get amdgpu_dm_connector
[WHY] Writeback connectors are based on a different object: drm_writeback_connector, and are therefore different from amdgpu
drm/amd/display: Skip writeback connector when we get amdgpu_dm_connector
[WHY] Writeback connectors are based on a different object: drm_writeback_connector, and are therefore different from amdgpu_dm_connector. We need to be careful to ensure code designed for amdgpu_dm_connector doesn't inadvertently try to operate on a drm_writeback_connector.
[HOW] Skip them when connector type is DRM_MODE_CONNECTOR_WRITEBACK.
Reviewed-by: Alex Hung <[email protected]> Signed-off-by: Harry Wentland <[email protected]> Signed-off-by: Alex Hung <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
30a97a21 |
| 21-Jun-2023 |
Srinivasan Shanmugam <[email protected]> |
drm/amd/display: Remove redundant braces in 'amdgpu_dm_crtc_notify_ta_to_read()'
Adhere to Linux kernel coding style.
Reported by checkpatch:
WARNING: braces {} are not necessary for single statem
drm/amd/display: Remove redundant braces in 'amdgpu_dm_crtc_notify_ta_to_read()'
Adhere to Linux kernel coding style.
Reported by checkpatch:
WARNING: braces {} are not necessary for single statement blocks
Cc: Rodrigo Siqueira <[email protected]> Cc: Aurabindo Pillai <[email protected]> Signed-off-by: Srinivasan Shanmugam <[email protected]> Reviewed-by: Rodrigo Siqueira <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
785b250e |
| 22-Mar-2023 |
Alan Liu <[email protected]> |
drm/amd/display: Fix in disabling secure display
[Why] Currently we don't check if secure display is enabled before we send command to disable secure display in dmub. It will accidentally cause some
drm/amd/display: Fix in disabling secure display
[Why] Currently we don't check if secure display is enabled before we send command to disable secure display in dmub. It will accidentally cause some other igt tests to fail, eg, crtc-linear-degamma.
[How] Refactor the code we reset the secure display state to check secure display was enabled or not before stopping it in dmub.
Reviewed-by: Wayne Lin <[email protected]> Acked-by: Qingqing Zhuo <[email protected]> Signed-off-by: Alan Liu <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
f0127cb1 |
| 28-Dec-2022 |
Wayne Lin <[email protected]> |
drm/amdgpu/display/mst: adjust the naming of mst_port and port of aconnector
[why & how] The term (i.e. port & mst_port) that we used to use in amdgpu is a bit confusing. Rename them to mst_output_p
drm/amdgpu/display/mst: adjust the naming of mst_port and port of aconnector
[why & how] The term (i.e. port & mst_port) that we used to use in amdgpu is a bit confusing. Rename them to mst_output_port & mst_root respectively.
Signed-off-by: Wayne Lin <[email protected]> Signed-off-by: Harry Wentland <[email protected]> Acked-by: Harry Wentland <[email protected]> Reviewed-by: Lyude Paul <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
c3d74960 |
| 11-Jan-2023 |
Hamza Mahfooz <[email protected]> |
drm/amd/display: fix possible buffer overflow relating to secure display
It is possible that adev->dm.dc->caps.max_links is greater than AMDGPU_MAX_CRTCS. So, to not potentially access unallocated m
drm/amd/display: fix possible buffer overflow relating to secure display
It is possible that adev->dm.dc->caps.max_links is greater than AMDGPU_MAX_CRTCS. So, to not potentially access unallocated memory use adev->mode_info.num_crtc to do the bounds check instead of adev->dm.dc->caps.max_links.
Fixes: 1b11ff764aef ("drm/amd/display: Implement multiple secure display") Fixes: b8ff7e08bab9 ("drm/amd/display: Fix when disabling secure_display") Reviewed-by: Alan Liu <[email protected]> Signed-off-by: Hamza Mahfooz <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
f6e856e7 |
| 04-Jan-2023 |
Aaron Liu <[email protected]> |
drm/amdgpu: update ta_secureDisplay_if.h to v27.00.00.08
1. Rename securedisplay_cmd to ta_securedisplay_cmd. 2. Rename ta_securedisplay_max_phy to ta_securedisplay_phy_ID. 3. update securedisplay_c
drm/amdgpu: update ta_secureDisplay_if.h to v27.00.00.08
1. Rename securedisplay_cmd to ta_securedisplay_cmd. 2. Rename ta_securedisplay_max_phy to ta_securedisplay_phy_ID. 3. update securedisplay_cmd to ta_securedisplay_cmd
Signed-off-by: Aaron Liu <[email protected]> Signed-off-by: Shane Xiao <[email protected]> Reviewed-by: Alan Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
cbd8f20b |
| 02-Dec-2022 |
Alan Liu <[email protected]> |
drm/amd/display: Improvements in secure display
[Why] - Need error message when failing to allocating secure_display_ctx. - Need to check if secure display context in psp is initialized or not befor
drm/amd/display: Improvements in secure display
[Why] - Need error message when failing to allocating secure_display_ctx. - Need to check if secure display context in psp is initialized or not before using it.
[How] - Add error message when memory allocation fail. - Add check before accessing psp secure display context.
Acked-by: Aurabindo Pillai <[email protected]> Signed-off-by: Alan Liu <[email protected]> Reviewed-by: Wayne Lin <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
b8ff7e08 |
| 24-Nov-2022 |
Alan Liu <[email protected]> |
drm/amd/display: Fix when disabling secure_display
[Why] Fix problems when we disable secure_display.
[How] - Reset secure display context after disabled - A secure_display_context is dedicate to a
drm/amd/display: Fix when disabling secure_display
[Why] Fix problems when we disable secure_display.
[How] - Reset secure display context after disabled - A secure_display_context is dedicate to a crtc, so we set the crtc for it when we create the context.
Reviewed-by: Wayne Lin <[email protected]> Acked-by: Jasdeep Dhillon <[email protected]> Signed-off-by: Alan Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
|
Revision tags: v6.1-rc2 |
|
| #
1b11ff76 |
| 19-Oct-2022 |
Alan Liu <[email protected]> |
drm/amd/display: Implement multiple secure display
[Why] Current secure display only work with single display, now make it work with multiple displays.
[How] Create secure_display_context for each
drm/amd/display: Implement multiple secure display
[Why] Current secure display only work with single display, now make it work with multiple displays.
[How] Create secure_display_context for each crtc instance to store its own Region of Interest (ROI) information.
v2: squash in warning fix (Alex)
Reviewed-by: Wayne Lin <[email protected]> Acked-by: Jasdeep Dhillon <[email protected]> Signed-off-by: Alan Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
7117007e |
| 24-Oct-2022 |
Alan Liu <[email protected]> |
drm/amdgpu: Move the mutex_lock to protect the return status of securedisplay command buffer
[Why] Before we call psp_securedisplay_invoke(), we call psp_prep_securedisplay_cmd_buf() to prepare and
drm/amdgpu: Move the mutex_lock to protect the return status of securedisplay command buffer
[Why] Before we call psp_securedisplay_invoke(), we call psp_prep_securedisplay_cmd_buf() to prepare and initialize the command buffer.
However, we didn't use the mutex_lock to protect the status of command buffer. So when multiple threads are using the command buffer, after thread A return from psp_securedisplay_invoke() and the command buffer status is set to SUCCESS, another thread B may call psp_prep_securedisplay_cmd_buf() and initialize the status to FAILURE again, and cause Thread A to get a failure return status.
[How] Move the mutex_lock out of psp_securedisplay_invoke() to its caller to cover psp_prep_securedisplay_cmd_buf() and the code checking the return status of command buffer.
Signed-off-by: Alan Liu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
62fa035b |
| 20-Oct-2022 |
Alan Liu <[email protected]> |
drm/amd/display: Drop struct crc_region and reuse struct rect
[Why] reuse struct rect rather than adding a new struct.
[How] - Userspace keeps inputting x_start, y_start, x_end, y_end - We translat
drm/amd/display: Drop struct crc_region and reuse struct rect
[Why] reuse struct rect rather than adding a new struct.
[How] - Userspace keeps inputting x_start, y_start, x_end, y_end - We translate data to x, y, width, height in code flow to store - translate back to x_start, y_start, x_end, y_end before programming HW
Tested-by: Mark Broadworth <[email protected]> Reviewed-by: Wayne Lin <[email protected]> Acked-by: Rodrigo Siqueira <[email protected]> Signed-off-by: Alan Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|
| #
c0459bdd |
| 20-Oct-2022 |
Alan Liu <[email protected]> |
drm/amd/display: Implement secure display on DCN21
[Why] Porting secure display feature from DCN10 to DCN21. Support single display for now and will extend to multiple displays.
[How] - use workque
drm/amd/display: Implement secure display on DCN21
[Why] Porting secure display feature from DCN10 to DCN21. Support single display for now and will extend to multiple displays.
[How] - use workqueue to offload works for dmub or dmcu firmware - after receiving ROI update from userspace, set skip_frame_cnt to 1 - refactor amdgpu_dm_crtc_handle_crc_window_irq() - disable PSR before activating secure_display on a crtc - check if secure_display is activated before enabling psr - only work for single display for now.
Tested-by: Mark Broadworth <[email protected]> Reviewed-by: Wayne Lin <[email protected]> Acked-by: Rodrigo Siqueira <[email protected]> Signed-off-by: Alan Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
show more ...
|