7 error: "__FreeBSD__" is not defined [-Werror=undef]
#elif __FreeBSD__
../x86drm.c: In function 'drmGetDeviceNameFromFd2':
../xf86drm.c:4305:7 error: "__FreeBSD__" is not defined [-Werror=undef]
#elif __FreeBSD__
^
cc1: some warnigns being treated as errors
7 error: "__FreeBSD__" is not defined [-Werror=undef]
#elif __FreeBSD__
../x86drm.c: In function 'drmGetDeviceNameFromFd2':
../xf86drm.c:4305:7 error: "__FreeBSD__" is not defined [-Werror=undef]
#elif __FreeBSD__
^
cc1: some warnigns being treated as errors
EE-PW700 adapter (DisplayPort/USB-
C to HDMI) from Samsung on a Skylake platform.
Several commands were tested including:
# cec-ctl --playback
# turns the TV off
# cec-ctl -t=0 --standby
# turns the TV on
# cec-ctl -t=0 --image-view-on
The cec-compliance binary was also run and it reporte
al commands were tested including:
# cec-ctl --playback
# turns the TV off
# cec-ctl -t=0 --standby
# turns the TV on
# cec-ctl -t=0 --image-view-on
The cec-compliance binary was also run and it reported no failures.
Tested-by: Carlos Santa
> drivers/gpu/drm/Kconfig | 10 ++
&
apter that doesn't actually exist.
>
Would it be worth pasting the stack trace of the crash??
Carlos
> Cc: stable at vger.kernel.org
> Cc: Carlos Santa
> Cc: Kirill A. Shutemov
> Tested-by: Carlos Santa
> Tested-by: Kirill A. Shutemov
> Bugzilla: https://bugs.freede
s.h
> index 011f199d3bcf..986ed6ff635a 100644
> --- a/include/drm/drm_modes.h
> +++ b/include/drm/drm_modes.h
> @@ -403,6 +403,8 @@ struct drm_display_mode {
> Â enum hdmi_picture_aspect picture_aspect_ratio;
> Â };
> Â
> +#define obj_to_mode(x) container_of(x, struct drm_display_mode,
> base)
> +
> Â /**
> Â * drm_mode_is_stereo - check for stereo mode flags
> Â * @mode: drm_display_mode to check
> diff --git a/include/drm/drm_property.h b/include/drm/drm_property.h
> index 30ab289be05d..43c4b6a2046d 100644
> --- a/include/drm/drm_property.h
> +++ b/include/drm/drm_property.h
> @@ -219,6 +219,7 @@ struct drm_prop_enum_list {
> Â };
> Â
> Â #define obj_to_property(x) container_of(x, struct drm_property,
> base)
> +#define obj_to_blob(x) container_of(x, struct drm_property_blob,
> base)
> Â
> Â /**
> Â * drm_property_type_is - check the type of a property
thanks,
Carlos Santa