drm/nvd0/disp: mask off high 16 bit of negative cursor x-coordinate
Subsystems (3)
PATCH 1/1 drm/nvd0/disp: mask off high 16 bit of negative cursor x-coordinate
--- drivers/gpu/drm/nouveau/nvd0_display.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/gpu/drm/nouveau/nvd0_display.c +1 -1
@@ -790,7 +790,7 @@ nvd0_crtc_cursor_move(struct drm_crtc *crtc, int x, int y)struct nouveau_crtc *nv_crtc =nouveau_crtc (crtc);int ch =EVO_CURS (nv_crtc->index); -evo_piow (crtc->dev, ch,0x0084 , (y <<16 ) | x); +evo_piow (crtc->dev, ch,0x0084 , (y <<16 ) | (x &0xffff ));evo_piow (crtc->dev, ch,0x0080 ,0x00000000 );return 0 ; }
Signature · 1 line
1.7.3.4
A message that is not in the archive (sent off-list or not yet received): 1343328799-9372-1-git-send-email-e0425955-oe7qfRrRQffzPE21tAIdciO7C/[email protected]
Op 26-07-12 20:53, Christoph Bumiller schreef:
Quoted 9 lines
--- drivers/gpu/drm/nouveau/nvd0_display.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/gpu/drm/nouveau/nvd0_display.c +0
-0
drivers/gpu/drm/nouveau/nvd0_display.c nvd0_crtc_cursor_move(struct drm_crtc *crtc, int x, int y) · line 796
Quoted 8 lines
drivers/gpu/drm/nouveau/nvd0_display.c +1
-1@@ -790,7 +790,7 @@ nvd0_crtc_cursor_move(struct drm_crtc *crtc, int x, int y)struct nouveau_crtc *nv_crtc =nouveau_crtc (crtc);int ch =EVO_CURS (nv_crtc->index); -evo_piow (crtc->dev, ch,0x0084 , (y <<16 ) | x); +evo_piow (crtc->dev, ch,0x0084 , (y <<16 ) | (x &0xffff ));evo_piow (crtc->dev, ch,0x0080 ,0x00000000 );return 0 ; }
3.2 didn't have d9 support yet.
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 13 lines · Maarten Lankhorst
Op 26-07-12 20:53, Christoph Bumiller schreef:
Quoted 12 lines
--- drivers/gpu/drm/nouveau/nvd0_display.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/gpu/drm/nouveau/nvd0_display.c +0
-0@@ -790,7 +790,7 @@ nvd0_crtc_cursor_move(struct drm_crtc *crtc, int x, int y)struct nouveau_crtc *nv_crtc =nouveau_crtc (crtc);int ch =EVO_CURS (nv_crtc->index);
Quoted 8 lines
drivers/gpu/drm/nouveau/nvd0_display.c nvd0_crtc_cursor_move(struct drm_crtc *crtc, int x, int y) · line 796
Quoted 5 lines
drivers/gpu/drm/nouveau/nvd0_display.c +1
-1-evo_piow (crtc->dev, ch,0x0084 , (y <<16 ) | x); +evo_piow (crtc->dev, ch,0x0084 , (y <<16 ) | (x &0xffff ));evo_piow (crtc->dev, ch,0x0080 ,0x00000000 );return 0 ; }Signed-off-by Maarten Lankhorst <[email protected]>Cc [email protected] [3.4]+
I've already picked this up for nouveau git also.
Quoted 7 lines
3.2 didn't have d9 support yet.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau