]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fallback to DMCUB when command table is missing
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Mon, 6 Jan 2020 18:21:48 +0000 (13:21 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 22 Jan 2020 21:55:27 +0000 (16:55 -0500)
commitf3fb31bdc0673cff13caf2a2019d5befe0a27487
tree8d19f59d24a534d85bb2336e4d35c932e874ba7c
parent3ba38dda3056f782fceff0703e45fcb406826afc
drm/amd/display: Fallback to DMCUB when command table is missing

[Why]
If the command table isn't available then we can fallback to DMCUB
offloading if it's enabled and available.

[How]
Instead of assigning NULL for supported command table functions we can
fallback to the DMCUB when it's available.

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Wesley Chalmers <Wesley.Chalmers@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/bios/command_table2.c