drm/amd/display: Add src/ext ID info for dummy service

[Why]
Current error log of dummy irq service doesn't have
src/ext ID info in the log.

[How]
Add src/ext ID in ack/set of dummy irq service.

Reviewed-by: Wayne Lin <Wayne.Lin@amd.com>
Acked-by: Pavle Kotarac <Pavle.Kotarac@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Solomon Chiu <solomon.chiu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Solomon Chiu 2021-12-10 15:04:01 -08:00 committed by Alex Deucher
parent 70487a99ee
commit 741fe8a4d2
1 changed files with 6 additions and 4 deletions

View File

@ -185,16 +185,18 @@ bool dal_irq_service_dummy_set(struct irq_service *irq_service,
const struct irq_source_info *info, const struct irq_source_info *info,
bool enable) bool enable)
{ {
DC_LOG_ERROR("%s: called for non-implemented irq source\n", DC_LOG_ERROR("%s: called for non-implemented irq source, src_id=%u, ext_id=%u\n",
__func__); __func__, info->src_id, info->ext_id);
return false; return false;
} }
bool dal_irq_service_dummy_ack(struct irq_service *irq_service, bool dal_irq_service_dummy_ack(struct irq_service *irq_service,
const struct irq_source_info *info) const struct irq_source_info *info)
{ {
DC_LOG_ERROR("%s: called for non-implemented irq source\n", DC_LOG_ERROR("%s: called for non-implemented irq source, src_id=%u, ext_id=%u\n",
__func__); __func__, info->src_id, info->ext_id);
return false; return false;
} }