drm/amdgpu: Correct the irq numbers for virtual crtc
authorEmily Deng <Emily.Deng@amd.com>
Tue, 12 May 2020 10:27:21 +0000 (18:27 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Jul 2021 15:48:12 +0000 (11:48 -0400)
commitfa8f311e9e3aa1d41f31f8b28f975c65f0b25c03
tree7d38e843a8abc292bb9ee07b484651c18f120928
parent834b8245d6bbd57900ca6c79d7f9e0279a8d51c2
drm/amdgpu: Correct the irq numbers for virtual crtc

The irq number should be decided by num_crtc, and the num_crtc could change
by parameter.

Signed-off-by: Emily Deng <Emily.Deng@amd.com>
Reviewed by: Monk Liu <monk.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/dce_virtual.c