[PATCH] libdrm: enclose __FreeBSD__ behind a define

2020-05-19 Thread Carlos Santa
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

[PATCH libdrm] libdrm: enclose __FreeBSD__ behind a define

2020-05-19 Thread Carlos Santa
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

Re: [PATCH 3/3] drm/i915: add DisplayPort CEC-Tunneling-over-AUX support

2017-08-09 Thread Carlos Santa
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

Re: [PATCH 1/3] drm: add support for DisplayPort CEC-Tunneling-over-AUX

2017-08-09 Thread Carlos Santa
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 ++ &

[PATCH 4/4] drm/dp/mst: Check peer device type before attempting EDID read

2016-10-26 Thread Carlos Santa
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

[Intel-gfx] [PATCH 01/10] drm: Move a few macros away from drm_crtc.h

2016-09-07 Thread Carlos Santa
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