Displaying 7 results from an estimated 7 matches for "drm_mode_cursor_atom".
Did you mean:
drm_mode_cursor_atomic
2016 May 27
2
[PATCH] Add virtio gpu driver.
...For that we need a notch more:
- one option would be to add hot_x/hot_y to the ->update_plane hook, but
that has massive trickling effects throughout the subsystem. Probably
not what we want to do.
- 2nd option would be to add a DRIVER_ATOMIC check to
drm_mode_cursor_common and call a new drm_mode_cursor_atomic in that
case:
diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c
index 3e52a6ecf6c0..2f15ce2c6bf4 100644
--- a/drivers/gpu/drm/drm_crtc.c
+++ b/drivers/gpu/drm/drm_crtc.c
@@ -3046,7 +3046,10 @@ static int drm_mode_cursor_common(struct drm_device *dev,
*/
drm_modeset_lock...
2016 May 27
2
[PATCH] Add virtio gpu driver.
...For that we need a notch more:
- one option would be to add hot_x/hot_y to the ->update_plane hook, but
that has massive trickling effects throughout the subsystem. Probably
not what we want to do.
- 2nd option would be to add a DRIVER_ATOMIC check to
drm_mode_cursor_common and call a new drm_mode_cursor_atomic in that
case:
diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c
index 3e52a6ecf6c0..2f15ce2c6bf4 100644
--- a/drivers/gpu/drm/drm_crtc.c
+++ b/drivers/gpu/drm/drm_crtc.c
@@ -3046,7 +3046,10 @@ static int drm_mode_cursor_common(struct drm_device *dev,
*/
drm_modeset_lock...
2016 May 30
0
[PATCH] Add virtio gpu driver.
...;t want those props everywhere, but only on drivers that support/need
> them, aka virtual hw.
Hmm, why is this special to virtual hw?
> if (crtc->cursor) {
> - ret = drm_mode_cursor_universal(crtc, req, file_priv);
> + if (drm_core_check_feature(DRIVER_ATOMIC))
> + ret = drm_mode_cursor_atomic(crtc, req, file_priv);
> + else
> + ret = drm_mode_cursor_universal(crtc, req, file_priv);
> goto out;
> drm_mode_cursor_atomic would simply be a fusing of
> drm_mode_cursor_universal + drm_atomic_helper_update_plane (dump all the
> intermediate variables and store...
2016 May 30
3
[PATCH] Add virtio gpu driver.
...on drivers that support/need
> > them, aka virtual hw.
>
> Hmm, why is this special to virtual hw?
>
> > if (crtc->cursor) {
> > - ret = drm_mode_cursor_universal(crtc, req, file_priv);
> > + if (drm_core_check_feature(DRIVER_ATOMIC))
> > + ret = drm_mode_cursor_atomic(crtc, req, file_priv);
> > + else
> > + ret = drm_mode_cursor_universal(crtc, req, file_priv);
> > goto out;
>
> > drm_mode_cursor_atomic would simply be a fusing of
> > drm_mode_cursor_universal + drm_atomic_helper_update_plane (dump all the
> >...
2016 May 30
3
[PATCH] Add virtio gpu driver.
...on drivers that support/need
> > them, aka virtual hw.
>
> Hmm, why is this special to virtual hw?
>
> > if (crtc->cursor) {
> > - ret = drm_mode_cursor_universal(crtc, req, file_priv);
> > + if (drm_core_check_feature(DRIVER_ATOMIC))
> > + ret = drm_mode_cursor_atomic(crtc, req, file_priv);
> > + else
> > + ret = drm_mode_cursor_universal(crtc, req, file_priv);
> > goto out;
>
> > drm_mode_cursor_atomic would simply be a fusing of
> > drm_mode_cursor_universal + drm_atomic_helper_update_plane (dump all the
> >...
2016 May 25
3
[PATCH] Add virtio gpu driver.
On Mon, Mar 30, 2015 at 4:49 PM, Daniel Vetter <daniel at ffwll.ch> wrote:
> On Mon, Mar 30, 2015 at 02:23:47PM +0200, Gerd Hoffmann wrote:
>> > > Signed-off-by: Dave Airlie <airlied at redhat.com>
>> > > Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
>> >
>> > Standard request from my side for new drm drivers (especially if
2016 May 25
3
[PATCH] Add virtio gpu driver.
On Mon, Mar 30, 2015 at 4:49 PM, Daniel Vetter <daniel at ffwll.ch> wrote:
> On Mon, Mar 30, 2015 at 02:23:47PM +0200, Gerd Hoffmann wrote:
>> > > Signed-off-by: Dave Airlie <airlied at redhat.com>
>> > > Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
>> >
>> > Standard request from my side for new drm drivers (especially if