Gate only HDMI Vendor Infoframe generation on the
info->has_hdmi_infoframe. All other infoframes were defined in earlier
HDMI specs and should be generated by default.
Signed-off-by: Dmitry Baryshkov
---
drivers/gpu/drm/drm_atomic_state_helper.c | 25 ++---
1 file changed, 10
Setup the HDMI connector on the MSM HDMI outputs. Make use of
atomic_check hook and of the provided Infoframe infrastructure.
Note: for now only AVI Infoframes are enabled. Audio Infoframes are
currenly handled separately. This will be fixed for the final version.
Signed-off-by: Dmitry Baryshkov
Change MSM HDMI bridge to use atomic_* callbacks in preparation to
enablign the HDMI connector support.
Signed-off-by: Dmitry Baryshkov
---
drivers/gpu/drm/msm/hdmi/hdmi_bridge.c | 13 +
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/msm/hdmi/hdmi_bridg
HDMI bridge drivers need to store private data pointer to be used from
drm_connector_hdmi_funcs::write_infoframes() and clear_infoframes()
callbacks. Add it to the drm_connector.hdmi structure.
Signed-off-by: Dmitry Baryshkov
---
include/drm/drm_connector.h | 5 +
1 file changed, 5 insertion
In order to use HDMI connector extensions from the bridge drivers, carve
out the drm_connector_hdmi_setup() from drmm_connector_hdmi_init(). This
way the drm_bridge drivers can call new function from their
setup_connector callbacks.
Signed-off-by: Dmitry Baryshkov
---
drivers/gpu/drm/drm_connect
Add a callback to be called by the drivers when the drm_connector is
created at the end of the drm_bridge chain. This allows bridges to
perform additional setup, like setting up the HDMI connector properties.
Note, for now only drm_bridge_connector uses this callback.
Signed-off-by: Dmitry Barysh
m/msm/hdmi/hdmi_bridge.c| 120 +-
include/drm/drm_bridge.h | 15
include/drm/drm_connector.h | 10 +++
7 files changed, 230 insertions(+), 53 deletions(-)
---
base-commit: 47dc3e3d3051709acd01143e21d2de2b5322336c
change-id: 20240307-b
Hi Dave,
This is the last bit for v6.9, which was waiting on
drm-misc-next-2024-02-29. Description below.
The following changes since commit 177bce60cd10a4ffdc9881bf6f2dff7880408c1d:
Merge tag 'drm-misc-next-2024-02-29' into msm-next (2024-03-03 18:32:11 -0800)
are available in the Git repos
The variable out is being initialized and incremented but it is never
actually referenced in any other way. The variable is redundant and can
be removed.
Cleans up clang scan build warning:
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:843:6: warning: variable
'out' set but not used [-Wunused-but-se