rewrite x11-drivers/tegra3-driver use the more elegant way