amdgpu/dc: separate out some common code from bios parsers.
authorDave Airlie <airlied@redhat.com>
Thu, 28 Sep 2017 01:24:06 +0000 (11:24 +1000)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Sep 2017 20:51:56 +0000 (16:51 -0400)
commite25cb588e6c8a948df147599de5469c3a95d3682
tree01157064785f42b477abdbf85fd5d56970a5ae19
parente5bcf3d83e40cc7acc9d111519b7bacaf4a01070
amdgpu/dc: separate out some common code from bios parsers.

This extracts the bios parser object id handling into a common file.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/bios/Makefile
drivers/gpu/drm/amd/display/dc/bios/bios_parser.c
drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c
drivers/gpu/drm/amd/display/dc/bios/bios_parser_common.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/bios/bios_parser_common.h [new file with mode: 0644]