mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-12 17:56:15 +07:00
drm/amd/display: add audio related regs
Signed-off-by: Charlene Liu <charlene.liu@amd.com> Reviewed-by: Chris Park <Chris.Park@amd.com> Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
f092200418
commit
c7c7192c56
@ -22,7 +22,7 @@
|
||||
* Authors: AMD
|
||||
*
|
||||
*/
|
||||
|
||||
#include "../dc.h"
|
||||
#include "reg_helper.h"
|
||||
#include "dce_audio.h"
|
||||
#include "dce/dce_11_0_d.h"
|
||||
@ -841,8 +841,6 @@ void dce_aud_wall_dto_setup(
|
||||
REG_UPDATE(DCCG_AUDIO_DTO_SOURCE,
|
||||
DCCG_AUDIO_DTO_SEL, 1);
|
||||
|
||||
REG_UPDATE(DCCG_AUDIO_DTO_SOURCE,
|
||||
DCCG_AUDIO_DTO_SEL, 1);
|
||||
/* DCCG_AUDIO_DTO2_USE_512FBR_DTO, 1)
|
||||
* Select 512fs for DP TODO: web register definition
|
||||
* does not match register header file
|
||||
|
@ -49,6 +49,8 @@
|
||||
SF(DCCG_AUDIO_DTO_SOURCE, DCCG_AUDIO_DTO0_SOURCE_SEL, mask_sh),\
|
||||
SF(DCCG_AUDIO_DTO_SOURCE, DCCG_AUDIO_DTO_SEL, mask_sh),\
|
||||
SF(DCCG_AUDIO_DTO_SOURCE, DCCG_AUDIO_DTO2_USE_512FBR_DTO, mask_sh),\
|
||||
SF(DCCG_AUDIO_DTO_SOURCE, DCCG_AUDIO_DTO0_USE_512FBR_DTO, mask_sh),\
|
||||
SF(DCCG_AUDIO_DTO_SOURCE, DCCG_AUDIO_DTO1_USE_512FBR_DTO, mask_sh),\
|
||||
SF(DCCG_AUDIO_DTO0_MODULE, DCCG_AUDIO_DTO0_MODULE, mask_sh),\
|
||||
SF(DCCG_AUDIO_DTO0_PHASE, DCCG_AUDIO_DTO0_PHASE, mask_sh),\
|
||||
SF(DCCG_AUDIO_DTO1_MODULE, DCCG_AUDIO_DTO1_MODULE, mask_sh),\
|
||||
@ -95,6 +97,8 @@ struct dce_audio_shift {
|
||||
uint8_t DCCG_AUDIO_DTO1_MODULE;
|
||||
uint8_t DCCG_AUDIO_DTO1_PHASE;
|
||||
uint8_t DCCG_AUDIO_DTO2_USE_512FBR_DTO;
|
||||
uint32_t DCCG_AUDIO_DTO0_USE_512FBR_DTO;
|
||||
uint32_t DCCG_AUDIO_DTO1_USE_512FBR_DTO;
|
||||
};
|
||||
|
||||
struct dce_aduio_mask {
|
||||
@ -112,6 +116,9 @@ struct dce_aduio_mask {
|
||||
uint32_t DCCG_AUDIO_DTO1_MODULE;
|
||||
uint32_t DCCG_AUDIO_DTO1_PHASE;
|
||||
uint32_t DCCG_AUDIO_DTO2_USE_512FBR_DTO;
|
||||
uint32_t DCCG_AUDIO_DTO0_USE_512FBR_DTO;
|
||||
uint32_t DCCG_AUDIO_DTO1_USE_512FBR_DTO;
|
||||
|
||||
};
|
||||
|
||||
struct dce_audio {
|
||||
|
Loading…
Reference in New Issue
Block a user