]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: use "irq" in place of "interrupt" in DCE6/8 as in DCE10/11
authorAlexandre Demers <alexandre.f.demers@gmail.com>
Fri, 4 Apr 2025 05:22:22 +0000 (01:22 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 8 Apr 2025 20:48:13 +0000 (16:48 -0400)
commit9101b84f8c1971401b05a9172a44082bc7a158d9
tree0b27cba767b93503f5bae0434749e9a9bbd7f6e0
parent160e6f5108f4b629c4614dfd37bb6c16ef522bb4
drm/amdgpu: use "irq" in place of "interrupt" in DCE6/8 as in DCE10/11

"interrupt" becomes "irq" in:
dce_vX_0_set_hpd_interrupt_state()
dce_vX_0_set_crtc_interrupt_state()
dce_vX_0_set_pageflip_interrupt_state()

It is easier when going through the code to just change the DCE number in
the functions' name to find and compare them across DCE versions.

Also, it standardizes function mapping inside a given structure where .set
and .process are both set to functions with a "_irq" suffix.

Signed-off-by: Alexandre Demers <alexandre.f.demers@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c