]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/bridge: do not pass drm_bridge_funcs to drm_bridge_init
authorAjay Kumar <ajaykumar.rs@samsung.com>
Tue, 20 Jan 2015 16:38:43 +0000 (22:08 +0530)
committerThierry Reding <treding@nvidia.com>
Wed, 28 Jan 2015 07:45:40 +0000 (08:45 +0100)
commitb07b90fd178a4797b0454ead491b717b41046bee
tree910390d54786443561d9e45bfdb8ef154f246001
parent94d50d57c4403aac70d23d2f442ab9ef4a668791
drm/bridge: do not pass drm_bridge_funcs to drm_bridge_init

Assign the pointer to bridge ops structure(drm_bridge_funcs) in
the bridge driver itself, instead of passing it to drm_bridge_init.

This will allow bridge driver developer to pack bridge private
information inside the bridge object and pass only the drm-relevant
information to drm_bridge_init.

Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
Acked-by: Inki Dae <inki.dae@samsung.com>
Tested-by: Rahul Sharma <rahul.sharma@samsung.com>
Tested-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Tested-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Tested-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/bridge/ptn3460.c
drivers/gpu/drm/drm_crtc.c
drivers/gpu/drm/msm/hdmi/hdmi_bridge.c
drivers/gpu/drm/sti/sti_hda.c
drivers/gpu/drm/sti/sti_hdmi.c
include/drm/drm_crtc.h