OSDN Git Service

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>
Thu, 8 Jul 2021 21:47:28 +0000 (17:47 -0400)
commit9604b74bff62f90add4435791417cdcfee9e0c54
treed51cff4a1f6d61f218b9ed0b602eef6206805524
parent6435af81ed2c37a29a31a6636039154c0ade0fcd
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