Skip to content
Snippets Groups Projects
  1. Feb 15, 2024
  2. Feb 12, 2024
  3. Feb 08, 2024
    • Tobias Jakobi's avatar
      xf86drm: ignore symlinks in process_device() · 7ab1cdac
      Tobias Jakobi authored and Simon Ser's avatar Simon Ser committed
      
      If the user has some UDev rules in place that creates symlinks for
      one of the card or render nodes, and the name of the symlink is
      too long, then drmDeviceAlloc() ends up truncating the name of
      the node.
      This in turn results in chaos in different subsystems. E.g.
      vulkaninfo dies early with this:
      
      Code 0 : failed to stat DRM primary node /dev/dri/my-favorite- (VK_ERROR_INITIALIZATION_FAILED)
      (if the symlink is called /dev/dri/my-favorite-card-node)
      
      Signed-off-by: default avatarTobias Jakobi <tjakobi@math.uni-bielefeld.de>
      7ab1cdac
  4. Jan 24, 2024
  5. Jan 13, 2024
  6. Jan 04, 2024
  7. Jan 01, 2024
  8. Dec 21, 2023
  9. Nov 20, 2023
  10. Nov 15, 2023
    • Neil Armstrong's avatar
      modetest: switch usage to proper options grammar · 6acadd49
      Neil Armstrong authored and Dmitry Baryshkov's avatar Dmitry Baryshkov committed
      It was unclear how #mode could be used, so fixup the usage string and print
      the struct grammar of the -s and -P options to clarify the usage.
      
      The following grammar was compiled:
      <plane_topology> ::= <plane_id> "@" <crtc_id> ":" <width> "x" <height> ( <plane_offsets> )?
      <plane_offsets> ::= "+" <x_offset> "+" <y_offset> ( <plane_scale> )?
      <plane_scale> ::= "*" <scale> ( <plane_format> )?
      <plane_format> ::= "@" <format>
      
      <mode_topology> ::= <connector_id> ( "," <connector_id> )* ( "@" <crtc_id> )? ":" <mode_selection> ( "@" <format> )?
      <mode_selection> ::=  <indexed_mode> | <named_mode> | <custom_mode>
      <indexed_mode> ::=  "#" <mode_index>
      <named_mode> ::=  <width> "x" <height> ( "-" <vrefresh> )?
      <custom_mode> ::=  <hdisplay> "," <hsyncstart> "," <hsyncend> "," <htotal> "," <vdisplay> "," <vsyncstart> "," <vsyncend> "," <vtotal>  "-" <vrefresh>
      <property>  ::= <object_id> ":" <property_name> ":" <value>
      
      <plane_id> ::= [0-9]+
      <crtc_id> ::= [0-9]+
      <width> ::= [0-9]+
      <height> ::= [0-9]+
      <x_offset> ::= [0-9]+
      <y_offset> ::= [0-9]+
      <scale> ::= [0-9]+ ( "." [0-9]+ )
      <format> ::= ( [A-Z] | [0-9] )+
      <connector_id> ::= [0-9]+
      <mode_index> ::= [0-9]+
      <hdisplay> ::= [0-9]+
      <hsyncstart> ::= [0-9]+
      <hsyncend> ::= [0-9]+
      <htotal> ::= [0-9]+
      <vdisplay> ::= [0-9]+
      <vsyncstart> ::= [0-9]+
      <vsyncend> ::= [0-9]+
      <vtotal> ::= [0-9]+
      <object_id> ::= [0-9]+
      <vrefresh> ::= [0-9]+
      <property_name> ::= ( [A-Z] | [0-9] | "_" )+
      <value> ::= [0-9]+
      
      with the https://bnfplayground.pauliankline.com/
      
       service
      
      Reviewed-by: default avatarMarijn Suijten <marijn.suijten@somainline.org>
      Reviewed-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
      Signed-off-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
      6acadd49
  11. Oct 31, 2023
  12. Oct 30, 2023
  13. Oct 24, 2023
Loading