]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dsi: lose the loose 666 format name in favor of packed
authorJani Nikula <jani.nikula@intel.com>
Wed, 16 Mar 2016 10:21:39 +0000 (12:21 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 16 Mar 2016 15:55:52 +0000 (17:55 +0200)
commit7a234c51fbd7f45c2042b483bcedb014b8702ae9
treedf7586f81faa89611c6b602dacda7a0031e08658
parentfba66c1686cd330f9b721f6b8507d77b24a8cd92
drm/i915/dsi: lose the loose 666 format name in favor of packed

The enum mipi_dsi_pixel_format defines MIPI_DSI_FMT_RGB666 for the
"loose" 24 bpp format and MIPI_DSI_FMT_RGB666_PACKED for the 18 bpp
format. We have this the other way round, defining a loose version for
24 bpp.

Follow suit with what's in enum mipi_dsi_pixel_format to avoid future
confusion. Rename

VID_MODE_FORMAT_RGB666 -> VID_MODE_FORMAT_RGB666_PACKED
VID_MODE_FORMAT_RGB666_LOOSE -> VID_MODE_FORMAT_RGB666

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1458123700-16003-1-git-send-email-jani.nikula@intel.com
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_dsi_pll.c