HACK: Revert drm_format_modifier API back to the one used in our kernels

It looks like the modifier API is already present in upstream headers, as per
the libdrm commit below.

https://cgit.freedesktop.org/mesa/drm/commit/?id=7ec689a5406a4c5f468e126007c5aa9d72dd7f59

Moreover, it is binary-incompatible with the API used currently in ChromeOS,
added in following CL.

https://chromium-review.googlesource.com/419833

Since our kernels still use the old, incompatible API and transitioning
Chrome, one of the users, between incompatible interfaces have known to
introduce a lot of problems, let's temporarily revert back to the legacy
API.

BUG=chromium:763739
BUG=chromium:763760
TEST=test_that kevin video_VideoDecodeAccelerator

Change-Id: I1959d937cfda360f143f6ce3b7181f9686db29ef
Signed-off-by: Tomasz Figa <tfiga@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/657791
Tested-by: Hirokazu Honda <hiroh@chromium.org>
Reviewed-by: Hirokazu Honda <hiroh@chromium.org>
Reviewed-by: Benjamin Gordon <bmgordon@chromium.org>
1 file changed