[PATCH 2/2] drm/udl: implement cursor.

2015-03-05 Thread Haixia Shi
On Thu, Mar 5, 2015 at 3:54 AM, David Herrmann wrote: > Hi > > Why pretend the hw supports cursors if it clearly does not? I don't > see why we cannot leave this to user-space (which can apply > optimizations for software-only devices, which the kernel cannot). And > a commit-message would also be

[PATCH 2/2] drm/udl: implement cursor.

2015-03-05 Thread David Herrmann
Hi On Thu, Mar 5, 2015 at 3:26 AM, Haixia Shi wrote: > Signed-off-by: Haixia Shi > Reviewed-by: Stéphane Marchesin > Tested-by: Haixia Shi > --- > drivers/gpu/drm/udl/Makefile | 2 +- > drivers/gpu/drm/udl/udl_cursor.c | 156 > + > drivers/gpu/d

[PATCH 2/2] drm/udl: implement cursor.

2015-03-05 Thread Chris Wilson
On Wed, Mar 04, 2015 at 06:26:24PM -0800, Haixia Shi wrote: > Signed-off-by: Haixia Shi > Reviewed-by: Stéphane Marchesin > Tested-by: Haixia Shi > --- > +static int udl_cursor_download(struct udl_cursor *cursor, > + struct drm_gem_object *obj) > +{ > + struct udl_gem_object *u

[PATCH 2/2] drm/udl: implement cursor.

2015-03-04 Thread Haixia Shi
Signed-off-by: Haixia Shi Reviewed-by: Stéphane Marchesin Tested-by: Haixia Shi --- drivers/gpu/drm/udl/Makefile | 2 +- drivers/gpu/drm/udl/udl_cursor.c | 156 + drivers/gpu/drm/udl/udl_cursor.h | 46 +++ drivers/gpu/drm/udl/udl_drv.h