summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorAngus Wang <Angus.Wang@amd.com>2022-03-08 09:33:24 -0500
committerAlex Deucher <alexander.deucher@amd.com>2022-03-31 22:54:15 -0400
commit1aa6b091f622bab0a805edc52bbb95cc96d55f30 (patch)
tree185522374cfcd95c0537c272f99638a346714055 /drivers/gpu/drm
parent749831acb1f6bf5837aeeec93b96da1d91534775 (diff)
downloadlinux-stable-1aa6b091f622bab0a805edc52bbb95cc96d55f30.tar.gz
linux-stable-1aa6b091f622bab0a805edc52bbb95cc96d55f30.tar.bz2
linux-stable-1aa6b091f622bab0a805edc52bbb95cc96d55f30.zip
drm/amd/display: Create underflow interrupt IRQ type
[WHY] We want another entry in IRQ type that can be used to help find the underflow interrupt source. [HOW] Added another mapping in IRQ type enum. Reviewed-by: Jun Lei <Jun.Lei@amd.com> Acked-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Angus Wang <Angus.Wang@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/amd/display/dc/irq_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/irq_types.h b/drivers/gpu/drm/amd/display/dc/irq_types.h
index 530c2578db40..36d8243cfbff 100644
--- a/drivers/gpu/drm/amd/display/dc/irq_types.h
+++ b/drivers/gpu/drm/amd/display/dc/irq_types.h
@@ -162,6 +162,7 @@ enum irq_type
IRQ_TYPE_VUPDATE = DC_IRQ_SOURCE_VUPDATE1,
IRQ_TYPE_VBLANK = DC_IRQ_SOURCE_VBLANK1,
IRQ_TYPE_VLINE0 = DC_IRQ_SOURCE_DC1_VLINE0,
+ IRQ_TYPE_DCUNDERFLOW = DC_IRQ_SOURCE_DC1UNDERFLOW,
};
#define DAL_VALID_IRQ_SRC_NUM(src) \