aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/rust/pin-init/internal/src
diff options
context:
space:
mode:
authorChenyuan Yang <chenyuan0y@gmail.com>2025-07-22 16:17:40 -0500
committerRob Clark <robin.clark@oss.qualcomm.com>2025-08-25 14:00:27 -0700
commitabebfed208515726760d79cf4f9f1a76b9a10a84 (patch)
tree324f526e87d634d521f15f04218a5279b589e000 /rust/pin-init/internal/src
parentdt-bindings: display/msm: qcom,mdp5: drop lut clock (diff)
downloadwireguard-linux-abebfed208515726760d79cf4f9f1a76b9a10a84.tar.xz
wireguard-linux-abebfed208515726760d79cf4f9f1a76b9a10a84.zip
drm/msm/dpu: Add a null ptr check for dpu_encoder_needs_modeset
The drm_atomic_get_new_connector_state() can return NULL if the connector is not part of the atomic state. Add a check to prevent a NULL pointer dereference. This follows the same pattern used in dpu_encoder_update_topology() within the same file, which checks for NULL before using conn_state. Signed-off-by: Chenyuan Yang <chenyuan0y@gmail.com> Fixes: 1ce69c265a53 ("drm/msm/dpu: move resource allocation to CRTC") Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Patchwork: https://patchwork.freedesktop.org/patch/665188/ Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com>
Diffstat (limited to 'rust/pin-init/internal/src')
0 files changed, 0 insertions, 0 deletions