Re: [Mesa-dev] [PATCH kmscube 2/2] Use weak functions to handle lack of gbm modifiers

2018-04-02 Thread Rob Clark
On Fri, Mar 30, 2018 at 10:17 AM, Emil Velikov wrote: > From: Emil Velikov > > Add weak function declaration and check if they're valid prior > to calling the functions. > > This allows us to remove conditional compilation, yet allowing the > modifiers codepath to work if API is available. > > Cc

Re: [Mesa-dev] [PATCH kmscube 2/2] Use weak functions to handle lack of gbm modifiers

2018-04-02 Thread Christian Gmeiner
2018-03-30 16:17 GMT+02:00 Emil Velikov : > From: Emil Velikov > > Add weak function declaration and check if they're valid prior > to calling the functions. > > This allows us to remove conditional compilation, yet allowing the > modifiers codepath to work if API is available. > > Cc: Christian G

[Mesa-dev] [PATCH kmscube 2/2] Use weak functions to handle lack of gbm modifiers

2018-03-30 Thread Emil Velikov
From: Emil Velikov Add weak function declaration and check if they're valid prior to calling the functions. This allows us to remove conditional compilation, yet allowing the modifiers codepath to work if API is available. Cc: Christian Gmeiner Cc: Rob Clark Signed-off-by: Emil Velikov ---