]> www.infradead.org Git - users/jedix/linux-maple.git/commit
accel/qaic: Add config structs for supported cards
authorJeffrey Hugo <quic_jhugo@quicinc.com>
Fri, 17 Jan 2025 17:09:42 +0000 (10:09 -0700)
committerJeffrey Hugo <quic_jhugo@quicinc.com>
Fri, 31 Jan 2025 17:08:17 +0000 (10:08 -0700)
commit5bbe412bc7937b5cabfe38aa186a2c6890f70df0
treed347d6309f9af58687205d061af238ff29ada430
parent8685520474bfc0fe4be83c3cbfe3fb3e1ca1514a
accel/qaic: Add config structs for supported cards

As the number of cards supported by the driver grows, their
configurations will differ. The driver needs to become more dynamic
to support these configurations. Currently, each card may differ in
the exposed BARs, the regions they map to, and the family.

Create config structs for each card, and let the driver configure the
qaic_device struct based on the configurations passed to the driver.

Co-developed-by: Youssef Samir <quic_yabdulra@quicinc.com>
Signed-off-by: Youssef Samir <quic_yabdulra@quicinc.com>
Signed-off-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Reviewed-by: Lizhi Hou <lizhi.hou@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250117170943.2643280-7-quic_jhugo@quicinc.com
drivers/accel/qaic/qaic.h
drivers/accel/qaic/qaic_drv.c
drivers/accel/qaic/qaic_timesync.c