drm/amd/display: Add Functions to enable Freesync Panel Replay
authorBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Fri, 12 May 2023 18:23:11 +0000 (14:23 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Aug 2023 21:12:49 +0000 (17:12 -0400)
commitc7ddc0a800bc9f681a18c3bdd9f06b61adfabc11
tree7845fde01fe40a4215af9b53eb5416df83b19651
parentf05f4fe6aba0af71670b6b4fcae025485ac222c3
drm/amd/display: Add Functions to enable Freesync Panel Replay

Add various functions for replay, such as construct, destroy, enable
get_state, and copy_setting etc. These functions communicate with the
firmware to setup and enable panel replay

Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/Makefile
drivers/gpu/drm/amd/display/dc/dce/dmub_replay.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dce/dmub_replay.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c
drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c
drivers/gpu/drm/amd/display/dc/inc/link.h
drivers/gpu/drm/amd/display/dc/link/link_factory.c
drivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c
drivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.h