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)
commit830821a64db63026a8b7414b2b539f262821ad23
tree8d19f59d24a534d85bb2336e4d35c932e874ba7c
parent153ca760219277997e2c3146ae9a15c979c50520
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