drm/fb: Extend format_info member arrays to handle four planes
authorDhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Mon, 28 Oct 2019 20:40:38 +0000 (13:40 -0700)
committerImre Deak <imre.deak@intel.com>
Tue, 7 Jan 2020 11:16:08 +0000 (13:16 +0200)
commita7007efa673cf07dc374ad6cf85ae8e65ee1337f
tree7afe86254cc93fe2a0e09ed6c864ffa69f8a391a
parent0d3d29d0f8f17a5ed22f424ca1ff4c047f7ef1cb
drm/fb: Extend format_info member arrays to handle four planes

addfb() uAPI has supported four planes for a while now, make format_info
compatible with that.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Mika Kahola <mika.kahola@intel.com>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191231233756.18753-7-imre.deak@intel.com
include/drm/drm_fourcc.h