vl/dri3: handle the case of different GPU(v4.2)
vl/dri3: handle the case of different GPU(v4.2)

In case of prime when rendering is done on GPU other then the
server GPU, use a seprate linear buffer for each back buffer
which will be displayed using present extension.

v2: Use a seprate linear buffer for each back buffer (Michel)
v3: Change variable names and fix coding style (Leo and Emil)
v4: Use PIPE_BIND_SAMPLER_VIEW for back buffer in case when
    a seprate linear buffer is used (Michel)
v4.1: remove empty line
v4.2: destroy the context and handle the case when
      create_context fails (Emil)

Signed-off-by: Nayan Deshmukh <df308fb4a67a5efb3258393111da6e14db0cf127@gmail.com>
Reviewed-by: Leo Liu <2cc5244297c0b82e7ea531cc4a868153602775b7@amd.com>
Acked-by: Michel Dänzer <242b79f0804cf52679d58f27ed754158c1323c75@amd.com>
Acked-by: Christian König <c7ea837d7a46effe4232b086213468b8b31643bf@amd.com>

metora/MesaGLSLCompiler,metora/MesaGLSLCompiler,metora/MesaGLSLCompiler