drm/amd/display: Move DCC support functions into dchubbub
authorEric Bernstein <eric.bernstein@amd.com>
Thu, 5 Apr 2018 21:09:20 +0000 (17:09 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:43:25 +0000 (13:43 -0500)
commit5ebfb7a5996ea1dceeb2a392d7e46357042e4506
tree9c01d56d76ee65df98c2c163ad8f897476e0729a
parentc4b0faae71f33377a11fe19dadcce6deb86f5037
drm/amd/display: Move DCC support functions into dchubbub

Added dchububu.h header file for common enum/struct definitions.
Added new interface functions get_dcc_compression_cap,
dcc_support_swizzle, dcc_support_pixel_format.

Signed-off-by: Eric Bernstein <eric.bernstein@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.h
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c
drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h [new file with mode: 0644]