summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2014-11-27 14:49:07 +0200
committerDave Airlie <airlied@redhat.com>2014-12-03 08:28:48 +1000
commit4fcd01d0f34645710ac92d5523e26019428b0806 (patch)
tree9b956e39a31847376ac0c490378c71901c117d4a /drivers/gpu/drm/i915
parent26045b53c96f23b75a48544349c3d936e8402418 (diff)
downloadop-kernel-dev-4fcd01d0f34645710ac92d5523e26019428b0806.zip
op-kernel-dev-4fcd01d0f34645710ac92d5523e26019428b0806.tar.gz
drm: rcar-du: Fix NULL encoder pointer dereference
The DRM connector's encoder pointer is managed internally by the DRM core and set to NULL when the DRM connector is disconnected from the CRTC it was attached to. This results in a NULL pointer dereference in the HDMI connector functions when trying to call the associated slave encoder's operations. Fix this by retrieving the slave encoder pointer from the R-Car connector structure instead of the DRM connector structure. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/i915')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud