The qxl driver uses an empty implementation for its encoder. Replace
the code with the generic simple encoder.
v2:
* rebase onto new simple-encoder interface
Signed-off-by: Thomas Zimmermann
---
drivers/gpu/drm/qxl/qxl_display.c | 18 +++---
1 file changed, 3 insertions(+),
The ast driver uses an empty implementation for its encoder. Replace
the code with the generic simple encoder.
v2:
* rebase onto new simple-encoder interface
Signed-off-by: Thomas Zimmermann
---
drivers/gpu/drm/ast/ast_drv.h | 6 +-
drivers/gpu/drm/ast/ast_mode.c | 25
Many DRM drivers implement an encoder with an empty implementation. This
patchset adds drm_simple_encoder_init() and drm_simple_encoder_create(),
which can be used by drivers instead. Except for the destroy callback, the
simple encoder's implementation is empty.
The patchset also converts 4
This patch makes the internal encoder implementation of the simple
KMS helpers available to drivers.
These simple-encoder helpers initialize an encoder with an empty
implementation. This covers the requirements of most of the existing
DRM drivers. A call to drm_simple_encoder_create() allocates
The mgag200 driver uses an empty implementation for its encoder. Replace
the code with the generic simple encoder.
v2:
* rebase onto new simple-encoder interface
Signed-off-by: Thomas Zimmermann
---
drivers/gpu/drm/mgag200/mgag200_drv.h | 7 ---
drivers/gpu/drm/mgag200/mgag200_mode.c
Signed-off-by: Henri Verbeet
---
spice-video-dummy/src/dummy.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/spice-video-dummy/src/dummy.h b/spice-video-dummy/src/dummy.h
index d287a59..dc4ab92 100644
--- a/spice-video-dummy/src/dummy.h
+++ b/spice-video-dummy/src/dummy.h
From: Jeremy White
This allow us to size and dynamically resize the dummy driver.
Signed-off-by: Jeremy White
Acked-by: Henri Verbeet
---
spice-video-dummy/src/Makefile.am | 2 +-
spice-video-dummy/src/display.c | 425 ++
Signed-off-by: Henri Verbeet
---
spice-video-dummy/src/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/spice-video-dummy/src/Makefile.am
b/spice-video-dummy/src/Makefile.am
index 6befa46..1dc4df8 100644
--- a/spice-video-dummy/src/Makefile.am
+++
From: Jeremy White
Signed-off-by: Jeremy White
Signed-off-by: Henri Verbeet
---
spice-video-dummy/src/dummy.h | 2 +-
spice-video-dummy/src/spicedummy_driver.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/spice-video-dummy/src/dummy.h
Signed-off-by: Henri Verbeet
---
spice-video-dummy/src/present.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/spice-video-dummy/src/present.c b/spice-video-dummy/src/present.c
index ad29dc9..40290d7 100644
--- a/spice-video-dummy/src/present.c
+++
This is probably not strictly needed, but it's easy and gets rid of the
"Xlib: extension "DPMS" missing on display ":2"." message.
Signed-off-by: Henri Verbeet
---
spice-video-dummy/src/spicedummy_driver.c | 2 ++
1 file changed, 2 insertions(+)
diff --git
Signed-off-by: Henri Verbeet
---
.gitignore | 1 +
1 file changed, 1 insertion(+)
diff --git a/.gitignore b/.gitignore
index aee6c93..7052d3f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,6 +11,7 @@ install-sh
missing
.deps
+.dirstamp
Makefile
Makefile.in
*.o
--
2.11.0
From: Jeremy White
Using NULL causes the server to relay the message on to the agent,
which does a superior job to anything we currently want to do.
Signed-off-by: Jeremy White
Acked-by: Henri Verbeet
---
src/spice.c | 27 +++
1 file changed, 3 insertions(+), 24
13 matches
Mail list logo