Davis (left) also appeared in Gervais's Extras
A TV comedy pilot written by Ricky Gervais and Stephen Merchant has been commissioned for BBC Two.
The 30-minute show centres on Warwick Davis, the British actor who has dwarfism and has starred in the Harry Potter and Star Wars films.
Gervais and Merchant will also appear on screen in minor roles. Life's Too Short is an observation comedy which follows Davis's day-to-day life.
"We're having so much fun working with Warwick," said Gervais.
"Pound for pound he is one of the funniest men I know," he added.
Janice Hadlow, controller of BBC Two said: "I'm very excited to see the return of Ricky and Stephen to BBC Two, but also to welcome Warwick Davis, a great talent, to the channel.
"Experimenting with innovative, broad appeal comedy projects are an important part of BBC Two's plans for the future," she added.
A date for the pilot has not yet been announced. Merchant and Gervais are also developing the show for HBO in the US.
Their most recent project was Cemetery Junction, a coming-of-age film set in 1970s Reading.