diff options
author | Bjorn Andersson <bjorn.andersson@linaro.org> | 2022-04-20 16:12:30 -0700 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2022-04-21 09:18:08 +0200 |
commit | b089c0a9b14c354a0c3a421e09af3208cb7c232c (patch) | |
tree | fe2473bcdd22788a7a12cc5d6621c328ad39a0ca /drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | |
parent | 169466d4e59ca204683998b7f45673ebf0eb2de6 (diff) |
Revert "drm: of: Lookup if child node has panel or bridge"
Commit '80253168dbfd ("drm: of: Lookup if child node has panel or
bridge")' attempted to simplify the case of expressing a simple panel
under a DSI controller, by assuming that the first non-graph child node
was a panel or bridge.
Unfortunately for non-trivial cases the first child node might not be a
panel or bridge. Examples of this can be a aux-bus in the case of
DisplayPort, or an opp-table represented before the panel node.
In these cases the reverted commit prevents the caller from ever finding
a reference to the panel.
This reverts commit '80253168dbfd ("drm: of: Lookup if child node has
panel or bridge")', in favor of using an explicit graph reference to the
panel in the trivial case as well.
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20220420231230.58499-2-bjorn.andersson@linaro.org
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c')
0 files changed, 0 insertions, 0 deletions