drm/amdgpu: add DMUB outbox event IRQ source define/complete/debug flag
Subsystems (2)
PATCH 1/1 drm/amdgpu: add DMUB outbox event IRQ source define/complete/debug flag
[Why & How]
We use outbox interrupt that allows us to do the AUX via DMUB Therefore, we need to add some irq source related definition in the header files;
Also, I added debug flag that allows us to turn it on/off for testing purpose.
--- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 ++ drivers/gpu/drm/amd/include/amd_shared.h | 3 ++- drivers/gpu/drm/amd/include/ivsrcid/dcn/irqsrcs_dcn_1_0.h | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu.h +2 -0
@@ -923,6 +923,7 @@ struct amdgpu_device {struct amdgpu_irq_src pageflip_irq;struct amdgpu_irq_src hpd_irq;struct amdgpu_irq_src dmub_trace_irq; +struct amdgpu_irq_src dmub_outbox_irq;/* rings */ u64 fence_context;
@@ -1077,6 +1078,7 @@ struct amdgpu_device {bool in_pci_err_recovery;struct pci_saved_state *pci_state; +struct completion dmub_aux_transfer_done; };static inline struct amdgpu_device *drm_to_adev (struct drm_device *ddev)
drivers/gpu/drm/amd/include/amd_shared.h +2 -1
@@ -227,7 +227,8 @@ enum DC_DEBUG_MASK {DC_DISABLE_PIPE_SPLIT =0x1 ,DC_DISABLE_STUTTER =0x2 ,DC_DISABLE_DSC =0x4 , - DC_DISABLE_CLOCK_GATING = 0x8 +DC_DISABLE_CLOCK_GATING =0x8 , + DC_ENABLE_DMUB_AUX = 0x10, };enum amd_dpm_forced_level ;
drivers/gpu/drm/amd/include/ivsrcid/dcn/irqsrcs_dcn_1_0.h +2 -0
@@ -1132,5 +1132,7 @@#define DCN_1_0__SRCID__DMCUB_OUTBOX_HIGH_PRIORITY_READY_INT 0x68#define DCN_1_0__CTXID__DMCUB_OUTBOX_HIGH_PRIORITY_READY_INT 6 +#define DCN_1_0__SRCID__DMCUB_OUTBOX_LOW_PRIORITY_READY_INT 0x68 // DMCUB_IHC_outbox1_ready_int IHC_DMCUB_outbox1_ready_int_ack DMCUB_OUTBOX_LOW_PRIORITY_READY_INTERRUPT DISP_INTERRUPT_STATUS_CONTINUE24 Level/Pulse +#define DCN_1_0__CTXID__DMCUB_OUTBOX_LOW_PRIORITY_READY_INT 8#endif // __IRQSRCS_DCN_1_0_H__
Signature · 6 lines
2.25.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Quoted 27 lines · Jude Shih
[Why & How]
We use outbox interrupt that allows us to do the AUX via DMUB Therefore, we need to add some irq source related definition in the header files;
Also, I added debug flag that allows us to turn it on/off for testing purpose.Signed-off-by Jude Shih <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 ++ drivers/gpu/drm/amd/include/amd_shared.h | 3 ++- drivers/gpu/drm/amd/include/ivsrcid/dcn/irqsrcs_dcn_1_0.h | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/amdgpu.h +1
-0@@ -923,6 +923,7 @@ struct amdgpu_device {struct amdgpu_irq_src pageflip_irq;struct amdgpu_irq_src hpd_irq;struct amdgpu_irq_src dmub_trace_irq; +struct amdgpu_irq_src dmub_outbox_irq;/* rings */ u64 fence_context;
drivers/gpu/drm/amd/amdgpu/amdgpu.h struct amdgpu_device { · line 1081
Quoted 4 lines
drivers/gpu/drm/amd/amdgpu/amdgpu.h +1
-0@@ -1077,6 +1078,7 @@ struct amdgpu_device {bool in_pci_err_recovery;struct pci_saved_state *pci_state; +struct completion dmub_aux_transfer_done;
Does this completion need to be on the amdgpu device itself?
I would prefer if we keep this as needed within DM itself if possible.
Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/amdgpu.h +0
-0};static inline struct amdgpu_device *drm_to_adev (struct drm_device *ddev)drivers/gpu/drm/amd/include/amd_shared.h +0
-0
drivers/gpu/drm/amd/include/amd_shared.h enum DC_DEBUG_MASK { · line 231
Quoted 6 lines
drivers/gpu/drm/amd/include/amd_shared.h +2
-1@@ -227,7 +227,8 @@ enum DC_DEBUG_MASK {DC_DISABLE_PIPE_SPLIT =0x1 ,DC_DISABLE_STUTTER =0x2 ,DC_DISABLE_DSC =0x4 , -DC_DISABLE_CLOCK_GATING =0x8 +DC_DISABLE_CLOCK_GATING =0x8 , + DC_ENABLE_DMUB_AUX = 0x10,
My problem with still leaving this as DC_ENABLE_DMUB_AUX is we shouldn't require the user to have to flip this on by default later. I think I'd prefer this still as a DISABLE option if we want to leave it for users to debug any potential issues.
If there's no value in having end users debug issues by setting this bit then we should keep it as a dc->debug default in DCN resource.
Regards,
Nicholas Kazlauskas
Quoted 9 lines
drivers/gpu/drm/amd/include/amd_shared.h +0
-0};enum amd_dpm_forced_level ;drivers/gpu/drm/amd/include/ivsrcid/dcn/irqsrcs_dcn_1_0.h +0
-0
drivers/gpu/drm/amd/include/ivsrcid/dcn/irqsrcs_dcn_1_0.h line 1138
Quoted 7 lines
drivers/gpu/drm/amd/include/ivsrcid/dcn/irqsrcs_dcn_1_0.h +2
-0@@ -1132,5 +1132,7 @@#define DCN_1_0__SRCID__DMCUB_OUTBOX_HIGH_PRIORITY_READY_INT 0x68#define DCN_1_0__CTXID__DMCUB_OUTBOX_HIGH_PRIORITY_READY_INT 6 +#define DCN_1_0__SRCID__DMCUB_OUTBOX_LOW_PRIORITY_READY_INT 0x68 // DMCUB_IHC_outbox1_ready_int IHC_DMCUB_outbox1_ready_int_ack DMCUB_OUTBOX_LOW_PRIORITY_READY_INTERRUPT DISP_INTERRUPT_STATUS_CONTINUE24 Level/Pulse +#define DCN_1_0__CTXID__DMCUB_OUTBOX_LOW_PRIORITY_READY_INT 8#endif // __IRQSRCS_DCN_1_0_H__
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
[AMD Official Use Only - Internal Distribution Only]
Hi Nicholas,
Does this completion need to be on the amdgpu device itself?
I would prefer if we keep this as needed within DM itself if possible.
=> do you mean move it to amdgpu_display_manager in amdgpu_dm.h as global variable?
My problem with still leaving this as DC_ENABLE_DMUB_AUX is we shouldn't require the user to have to flip this on by default later. I think I'd prefer this still as a DISABLE option if we want to leave it for users to debug any potential issues. => do you mean DC_ENABLE_DMUB_AUX = 0x10 => DC_DISABLE_DMUB_AUX = 0x10
and amdgpu_dc_debug_mask = 0x10 as default to turn it off?
Thanks,
Best Regards,
Jude
-----Original Message-----
From: Kazlauskas, Nicholas <[email protected]>
Sent: Tuesday, April 6, 2021 10:04 PM
To: Shih, Jude <[email protected]>; [email protected]
Cc: Deucher, Alexander <[email protected]>; Lin, Wayne <[email protected]>; Hung, Cruise <[email protected]>
Subject: Re: [PATCH] drm/amdgpu: add DMUB outbox event IRQ source define/complete/debug flag
Quoted 27 lines · Jude Shih
[Why & How]
We use outbox interrupt that allows us to do the AUX via DMUB Therefore, we need to add some irq source related definition in the header files; Also, I added debug flag that allows us to turn it on/off for testing purpose.Signed-off-by Jude Shih <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 ++ drivers/gpu/drm/amd/include/amd_shared.h | 3 ++- drivers/gpu/drm/amd/include/ivsrcid/dcn/irqsrcs_dcn_1_0.h | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/amdgpu.h +1
-0@@ -923,6 +923,7 @@ struct amdgpu_device {struct amdgpu_irq_src pageflip_irq;struct amdgpu_irq_src hpd_irq;struct amdgpu_irq_src dmub_trace_irq; +struct amdgpu_irq_src dmub_outbox_irq;/* rings */ u64 fence_context;
drivers/gpu/drm/amd/amdgpu/amdgpu.h struct amdgpu_device { · line 1081
Quoted 4 lines
drivers/gpu/drm/amd/amdgpu/amdgpu.h +1
-0@@ -1077,6 +1078,7 @@ struct amdgpu_device {bool in_pci_err_recovery;struct pci_saved_state *pci_state; +struct completion dmub_aux_transfer_done;
Does this completion need to be on the amdgpu device itself?
I would prefer if we keep this as needed within DM itself if possible.
Quoted 9 lines
drivers/gpu/drm/amd/amdgpu/amdgpu.h +0
-0}; static inline struct amdgpu_device *drm_to_adev(struct drm_device*ddev) diff --git
a/drivers/gpu/drm/amd/include/amd_shared.hb/drivers/gpu/drm/amd/include/amd_shared.h
index43ed6291b2b8..097672cc78a1100644
drivers/gpu/drm/amd/include/amd_shared.h enum DC_DEBUG_MASK { · line 231
Quoted 6 lines
drivers/gpu/drm/amd/include/amd_shared.h +2
-1@@ -227,7 +227,8 @@ enum DC_DEBUG_MASK {DC_DISABLE_PIPE_SPLIT =0x1 ,DC_DISABLE_STUTTER =0x2 ,DC_DISABLE_DSC =0x4 , -DC_DISABLE_CLOCK_GATING =0x8 +DC_DISABLE_CLOCK_GATING =0x8 , + DC_ENABLE_DMUB_AUX = 0x10,
My problem with still leaving this as DC_ENABLE_DMUB_AUX is we shouldn't require the user to have to flip this on by default later. I think I'd prefer this still as a DISABLE option if we want to leave it for users to debug any potential issues.
If there's no value in having end users debug issues by setting this bit then we should keep it as a dc->debug default in DCN resource.
Regards,
Nicholas Kazlauskas
Quoted 10 lines
drivers/gpu/drm/amd/include/amd_shared.h +0
-0};enum amd_dpm_forced_level ;drivers/gpu/drm/amd/include/ivsrcid/dcn/irqsrcs_dcn_1_0.h +0
-0
drivers/gpu/drm/amd/include/ivsrcid/dcn/irqsrcs_dcn_1_0.h line 1138
Quoted 7 lines
drivers/gpu/drm/amd/include/ivsrcid/dcn/irqsrcs_dcn_1_0.h +2
-0@@ -1132,5 +1132,7 @@#define DCN_1_0__SRCID__DMCUB_OUTBOX_HIGH_PRIORITY_READY_INT 0x68#define DCN_1_0__CTXID__DMCUB_OUTBOX_HIGH_PRIORITY_READY_INT 6 +#define DCN_1_0__SRCID__DMCUB_OUTBOX_LOW_PRIORITY_READY_INT 0x68 // DMCUB_IHC_outbox1_ready_int IHC_DMCUB_outbox1_ready_int_ack DMCUB_OUTBOX_LOW_PRIORITY_READY_INTERRUPT DISP_INTERRUPT_STATUS_CONTINUE24 Level/Pulse +#define DCN_1_0__CTXID__DMCUB_OUTBOX_LOW_PRIORITY_READY_INT 8#endif // __IRQSRCS_DCN_1_0_H__
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Quoted 9 lines · Jude
[AMD Official Use Only - Internal Distribution Only]
Hi Nicholas,
Does this completion need to be on the amdgpu device itself?
I would prefer if we keep this as needed within DM itself if possible.
=> do you mean move it to
amdgpu_display_managerinamdgpu_dm.has global variable?
There's a amdgpu_display_manager per device, but yes, it should be contained in there if possible since it's display code.
Quoted 4 lines
My problem with still leaving this as
DC_ENABLE_DMUB_AUXis we shouldn't require the user to have to flip this on by default later. I think I'd prefer this still as a DISABLE option if we want to leave it for users to debug any potential issues. => do you meanDC_ENABLE_DMUB_AUX=0x10=>DC_DISABLE_DMUB_AUX=0x10
andamdgpu_dc_debug_mask=0x10as default to turn it off?
Don't modify the default debug mask and leave it alone. We can still have DC_DISABLE_DMUB_AUX = 0x10 as a user debug option if they have firmware that supports this.
Flag or not, we need a mechanism from driver to firmware to query whether the firmware supports it in the first place. It's not sufficient to fully control this feature with just a debug flag, there needs to be a cap check regardless with the firmware for support.
Older firmware won't implement this check and therefore won't enable the feature.
Newer (or test) firmware could enable this feature and report back to driver that it does support it.
Driver can then decide to enable this based on dc->debug.dmub_aux_support or something similar to that - it can be false or ASIC that we won't be supporting this on, but for ASIC that we do we can leave it off by default until it's production ready.
For developer testing we can hardcode the flag = true, I think the DC debug flags here in AMDGPU base driver only have value if we want general end user or validation to use this to debug potential issues.
Regards,
Nicholas Kazlauskas
Quoted 84 lines
Thanks,
Best Regards,
Jude
-----Original Message-----
From: Kazlauskas, Nicholas <[email protected]>
Sent: Tuesday, April 6, 2021 10:04 PM
To: Shih, Jude <[email protected]>; [email protected]
Cc: Deucher, Alexander <[email protected]>; Lin, Wayne <[email protected]>; Hung, Cruise <[email protected]>
Subject: Re: [PATCH] drm/amdgpu: add DMUB outbox event IRQ source define/complete/debug flagQuoted 27 lines · Jude Shih
[Why & How]
We use outbox interrupt that allows us to do the AUX via DMUB Therefore, we need to add some irq source related definition in the header files; Also, I added debug flag that allows us to turn it on/off for testing purpose.Signed-off-by Jude Shih <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 ++ drivers/gpu/drm/amd/include/amd_shared.h | 3 ++- drivers/gpu/drm/amd/include/ivsrcid/dcn/irqsrcs_dcn_1_0.h | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/amdgpu.h +1
-0@@ -923,6 +923,7 @@ struct amdgpu_device {struct amdgpu_irq_src pageflip_irq;struct amdgpu_irq_src hpd_irq;struct amdgpu_irq_src dmub_trace_irq; +struct amdgpu_irq_src dmub_outbox_irq;/* rings */ u64 fence_context;drivers/gpu/drm/amd/amdgpu/amdgpu.h struct amdgpu_device { · line 1081
Quoted 4 lines
drivers/gpu/drm/amd/amdgpu/amdgpu.h +1
-0@@ -1077,6 +1078,7 @@ struct amdgpu_device {bool in_pci_err_recovery;struct pci_saved_state *pci_state; +struct completion dmub_aux_transfer_done;Does this completion need to be on the amdgpu device itself?
I would prefer if we keep this as needed within DM itself if possible.
Quoted 9 lines
drivers/gpu/drm/amd/amdgpu/amdgpu.h +0
-0}; static inline struct amdgpu_device *drm_to_adev(struct drm_device*ddev) diff --git
a/drivers/gpu/drm/amd/include/amd_shared.hb/drivers/gpu/drm/amd/include/amd_shared.h
index43ed6291b2b8..097672cc78a1100644drivers/gpu/drm/amd/include/amd_shared.h enum DC_DEBUG_MASK { · line 231
Quoted 6 lines
drivers/gpu/drm/amd/include/amd_shared.h +2
-1@@ -227,7 +227,8 @@ enum DC_DEBUG_MASK {DC_DISABLE_PIPE_SPLIT =0x1 ,DC_DISABLE_STUTTER =0x2 ,DC_DISABLE_DSC =0x4 , -DC_DISABLE_CLOCK_GATING =0x8 +DC_DISABLE_CLOCK_GATING =0x8 , + DC_ENABLE_DMUB_AUX = 0x10,My problem with still leaving this as
DC_ENABLE_DMUB_AUXis we shouldn't require the user to have to flip this on by default later. I think I'd prefer this still as a DISABLE option if we want to leave it for users to debug any potential issues.If there's no value in having end users debug issues by setting this bit then we should keep it as a
dc->debugdefault in DCN resource.Regards,
Nicholas KazlauskasQuoted 10 lines
drivers/gpu/drm/amd/include/amd_shared.h +0
-0};enum amd_dpm_forced_level ;drivers/gpu/drm/amd/include/ivsrcid/dcn/irqsrcs_dcn_1_0.h +0
-0@@ -1132,5 +1132,7 @@
Quoted 7 lines
drivers/gpu/drm/amd/include/ivsrcid/dcn/irqsrcs_dcn_1_0.h line 1138
Quoted 7 lines
drivers/gpu/drm/amd/include/ivsrcid/dcn/irqsrcs_dcn_1_0.h +2
-0#define DCN_1_0__SRCID__DMCUB_OUTBOX_HIGH_PRIORITY_READY_INT 0x68#define DCN_1_0__CTXID__DMCUB_OUTBOX_HIGH_PRIORITY_READY_INT 6 +#define DCN_1_0__SRCID__DMCUB_OUTBOX_LOW_PRIORITY_READY_INT 0x68 // DMCUB_IHC_outbox1_ready_int IHC_DMCUB_outbox1_ready_int_ack DMCUB_OUTBOX_LOW_PRIORITY_READY_INTERRUPT DISP_INTERRUPT_STATUS_CONTINUE24 Level/Pulse +#define DCN_1_0__CTXID__DMCUB_OUTBOX_LOW_PRIORITY_READY_INT 8#endif // __IRQSRCS_DCN_1_0_H__
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
[AMD Official Use Only - Internal Distribution Only]
Hi Nicholas,
Let me summarize the suggestion. Please correct me if I misunderstood.
1. for dmub_aux_transfer_done, move it to amdgpu_display_manager in amdgpu_dm.h instead of amdgpu.h
2. Remove DC_ENABLE_DMUB_AUX from amd_shared.h at current stage since we don't have a mechanism to check the firmware yet. We just hardcore this flag when testing.
3. Keep the irq source change in irqsrcs_dcn_1_0.h at current stage since we don't have irqsrc_dcn_2_1.h
=> So I will just keep the change in irqsrcs_dcn_1_0.h and dmub_outbox_irq in amdgpu.h?
Thanks!
Best Regards,
Jude
-----Original Message-----
From: Kazlauskas, Nicholas <[email protected]>
Sent: Tuesday, April 6, 2021 10:30 PM
To: Shih, Jude <[email protected]>; [email protected]
Cc: Deucher, Alexander <[email protected]>; Lin, Wayne <[email protected]>; Hung, Cruise <[email protected]>
Subject: Re: [PATCH] drm/amdgpu: add DMUB outbox event IRQ source define/complete/debug flag
Quoted 9 lines · Jude
[AMD Official Use Only - Internal Distribution Only]
Hi Nicholas,
Does this completion need to be on the amdgpu device itself?
I would prefer if we keep this as needed within DM itself if possible.
=> do you mean move it to
amdgpu_display_managerinamdgpu_dm.has global variable?
There's a amdgpu_display_manager per device, but yes, it should be contained in there if possible since it's display code.
Quoted 4 lines
My problem with still leaving this as
DC_ENABLE_DMUB_AUXis we shouldn't require the user to have to flip this on by default later. I think I'd prefer this still as a DISABLE option if we want to leave it for users to debug any potential issues. => do you meanDC_ENABLE_DMUB_AUX=0x10=>DC_DISABLE_DMUB_AUX=0x10
andamdgpu_dc_debug_mask=0x10as default to turn it off?
Don't modify the default debug mask and leave it alone. We can still have DC_DISABLE_DMUB_AUX = 0x10 as a user debug option if they have firmware that supports this.
Flag or not, we need a mechanism from driver to firmware to query whether the firmware supports it in the first place. It's not sufficient to fully control this feature with just a debug flag, there needs to be a cap check regardless with the firmware for support.
Older firmware won't implement this check and therefore won't enable the feature.
Newer (or test) firmware could enable this feature and report back to driver that it does support it.
Driver can then decide to enable this based ondc->debug.dmub_aux_support or something similar to that - it can be
false or ASIC that we won't be supporting this on, but for ASIC that we do we can leave it off by default until it's production ready.
For developer testing we can hardcode the flag = true, I think the DC debug flags here in AMDGPU base driver only have value if we want general end user or validation to use this to debug potential issues.
Regards,
Nicholas Kazlauskas
Quoted 87 lines
Thanks,
Best Regards,
Jude
-----Original Message-----
From: Kazlauskas, Nicholas <[email protected]>
Sent: Tuesday, April 6, 2021 10:04 PM
To: Shih, Jude <[email protected]>; [email protected]
Cc: Deucher, Alexander <[email protected]>; Lin, Wayne <[email protected]>; Hung, Cruise <[email protected]>
Subject: Re: [PATCH] drm/amdgpu: add DMUB outbox event IRQ source define/complete/debug flagQuoted 27 lines · Jude Shih
[Why & How]
We use outbox interrupt that allows us to do the AUX via DMUB Therefore, we need to add some irq source related definition in the header files; Also, I added debug flag that allows us to turn it on/off for testing purpose.Signed-off-by Jude Shih <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 ++ drivers/gpu/drm/amd/include/amd_shared.h | 3 ++- drivers/gpu/drm/amd/include/ivsrcid/dcn/irqsrcs_dcn_1_0.h | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/amdgpu.h +1
-0@@ -923,6 +923,7 @@ struct amdgpu_device {struct amdgpu_irq_src pageflip_irq;struct amdgpu_irq_src hpd_irq;struct amdgpu_irq_src dmub_trace_irq; +struct amdgpu_irq_src dmub_outbox_irq;/* rings */ u64 fence_context;drivers/gpu/drm/amd/amdgpu/amdgpu.h struct amdgpu_device { · line 1081
Quoted 4 lines
drivers/gpu/drm/amd/amdgpu/amdgpu.h +1
-0@@ -1077,6 +1078,7 @@ struct amdgpu_device {bool in_pci_err_recovery;struct pci_saved_state *pci_state; +struct completion dmub_aux_transfer_done;Does this completion need to be on the amdgpu device itself?
I would prefer if we keep this as needed within DM itself if possible.
Quoted 9 lines
drivers/gpu/drm/amd/amdgpu/amdgpu.h +0
-0}; static inline struct amdgpu_device *drm_to_adev(struct drm_device*ddev) diff --git
a/drivers/gpu/drm/amd/include/amd_shared.hb/drivers/gpu/drm/amd/include/amd_shared.h
index43ed6291b2b8..097672cc78a1100644drivers/gpu/drm/amd/include/amd_shared.h enum DC_DEBUG_MASK { · line 231
Quoted 6 lines
drivers/gpu/drm/amd/include/amd_shared.h +2
-1@@ -227,7 +227,8 @@ enum DC_DEBUG_MASK {DC_DISABLE_PIPE_SPLIT =0x1 ,DC_DISABLE_STUTTER =0x2 ,DC_DISABLE_DSC =0x4 , -DC_DISABLE_CLOCK_GATING =0x8 +DC_DISABLE_CLOCK_GATING =0x8 , + DC_ENABLE_DMUB_AUX = 0x10,My problem with still leaving this as
DC_ENABLE_DMUB_AUXis we shouldn't require the user to have to flip this on by default later. I think I'd prefer this still as a DISABLE option if we want to leave it for users to debug any potential issues.If there's no value in having end users debug issues by setting this bit then we should keep it as a
dc->debugdefault in DCN resource.Regards,
Nicholas KazlauskasQuoted 11 lines
drivers/gpu/drm/amd/include/amd_shared.h +0
-0};enum amd_dpm_forced_level ;(quoted diff) +0
-0
a/drivers/gpu/drm/amd/include/ivsrcid/dcn/irqsrcs_dcn_1_0.hb/drivers/gpu/drm/amd/include/ivsrcid/dcn/irqsrcs_dcn_1_0.hindexe2bffcae273a..754170a86ea4100644drivers/gpu/drm/amd/include/ivsrcid/dcn/irqsrcs_dcn_1_0.h +0
-0@@ -1132,5 +1132,7 @@
Quoted 7 lines
drivers/gpu/drm/amd/include/ivsrcid/dcn/irqsrcs_dcn_1_0.h line 1138
Quoted 7 lines
drivers/gpu/drm/amd/include/ivsrcid/dcn/irqsrcs_dcn_1_0.h +2
-0#define DCN_1_0__SRCID__DMCUB_OUTBOX_HIGH_PRIORITY_READY_INT 0x68#define DCN_1_0__CTXID__DMCUB_OUTBOX_HIGH_PRIORITY_READY_INT 6 +#define DCN_1_0__SRCID__DMCUB_OUTBOX_LOW_PRIORITY_READY_INT 0x68 // DMCUB_IHC_outbox1_ready_int IHC_DMCUB_outbox1_ready_int_ack DMCUB_OUTBOX_LOW_PRIORITY_READY_INTERRUPT DISP_INTERRUPT_STATUS_CONTINUE24 Level/Pulse +#define DCN_1_0__CTXID__DMCUB_OUTBOX_LOW_PRIORITY_READY_INT 8#endif // __IRQSRCS_DCN_1_0_H__
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx