Daniel Martin 10054b6c3d modesetting: Reset output_id if drmModeGetConnector failed
If drmModeGetConnector() fails in drmmode_output_detect(), we have to
reset the output_id to -1 too.

Yet another spot leading to a potential NULL dereference when handling
the mode_output member as output_id was != -1. Though, this case should
be very hard to hit.

Signed-off-by: Daniel Martin <consume.noise@gmail.com>

(Ported from xserver commit 6804875662363764683a86c1614e4cf3cc70a20a)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2018-03-02 12:02:43 +01:00
2018-02-14 17:05:51 +01:00
2016-07-12 16:03:51 +09:00
2017-07-27 15:13:36 +09:00
2017-05-24 10:12:55 +09:00

xf86-video-amdgpu - AMD Radeon video driver for the Xorg X server

Patches and questions regarding this software should be directed at the
amd-gfx mailing list:

        https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Please submit bug reports to the Xorg bugzilla:

        https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver/AMDgpu

The master development code repository can be found at:

        git://anongit.freedesktop.org/git/xorg/driver/xf86-video-amdgpu

        https://cgit.freedesktop.org/xorg/driver/xf86-video-amdgpu

For patch submission instructions, see:

        https://www.x.org/wiki/Development/Documentation/SubmittingPatches

For more information on the git code manager, see:

        https://wiki.x.org/wiki/GitPage

Description
No description provided
Readme 2.9 MiB
Languages
C 94.7%
M4 2.8%
Makefile 1.6%
Perl 0.8%