Daniel Vetter d268f42e68 drm/mediatek: don't open-code drm_gem_fb_create
Aside: There's a few other fb_create implementations which
simply check for valid buffer format (or an approximation thereof),
and then call drm_gem_fb_create. For atomic drivers at least we could
walk all planes and make sure the format/modifier combo is valid,
and remove even more code.

For non-atomic drivers that's not possible, since the format list for
the primary buffer might be garbage (and most likely it is).

Also delete mtk_drm_fb.[hc] since it would now only contain one
function.

Acked-by: CK Hu <ck.hu@mediatek.com>
Cc: CK Hu <ck.hu@mediatek.com>
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Cc: Matthias Brugger <matthias.bgg@gmail.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-mediatek@lists.infradead.org
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20191115092120.4445-4-daniel.vetter@ffwll.ch
2019-11-22 18:09:18 +01:00
..
2019-08-14 18:31:10 +02:00
2019-10-04 17:04:05 +01:00
2019-10-03 16:38:50 +02:00
2019-09-19 16:24:24 -07:00
2019-11-20 17:40:32 +01:00
2019-11-20 17:40:32 +01:00
2019-10-23 12:10:05 +02:00
2019-09-16 15:14:43 +02:00
2019-11-20 17:40:32 +01:00
2019-10-23 11:14:11 -04:00
2019-11-04 18:39:58 +01:00
2019-11-19 22:25:55 +01:00
2019-07-22 21:24:10 +02:00
2019-10-08 18:29:00 +02:00
2019-07-22 21:24:10 +02:00
2019-09-19 16:24:24 -07:00