]> git.baikalelectronics.ru Git - kernel.git/commit
drm/kms: Simplify setup of the initial I2C encoder config.
authorFrancisco Jerez <currojerez@riseup.net>
Thu, 22 Jul 2010 15:07:38 +0000 (17:07 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 4 Aug 2010 23:37:45 +0000 (09:37 +1000)
commitca037f9fab64cba6681e56dda5a86be458b4cfb4
treefb8ec34351322f3735d9eb892ce9a4f80452193b
parent56fe7022979e220f3257198c1b696e86aa30a5a1
drm/kms: Simplify setup of the initial I2C encoder config.

In most use cases the driver will be using the same static config all
the time: interpreting i2c_board_info::platform_data as the default
config we can can save the GPU driver a redundant set_config() call.

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_encoder_slave.c