* [PATCH] drm/nvd0/disp: mask off high 16 bit of negative cursor x-coordinate
@ 2012-07-26 18:53 Christoph Bumiller
[not found] ` <1343328799-9372-1-git-send-email-e0425955-oe7qfRrRQffzPE21tAIdciO7C/xPubJB@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Christoph Bumiller @ 2012-07-26 18:53 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
---
drivers/gpu/drm/nouveau/nvd0_display.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nvd0_display.c b/drivers/gpu/drm/nouveau/nvd0_display.c
index c486d3c..c50b075 100644
--- a/drivers/gpu/drm/nouveau/nvd0_display.c
+++ b/drivers/gpu/drm/nouveau/nvd0_display.c
@@ -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;
}
--
1.7.3.4
^ permalink raw reply related [flat|nested] 3+ messages in thread[parent not found: <1343328799-9372-1-git-send-email-e0425955-oe7qfRrRQffzPE21tAIdciO7C/xPubJB@public.gmane.org>]
* Re: [PATCH] drm/nvd0/disp: mask off high 16 bit of negative cursor x-coordinate [not found] ` <1343328799-9372-1-git-send-email-e0425955-oe7qfRrRQffzPE21tAIdciO7C/xPubJB@public.gmane.org> @ 2012-07-26 20:04 ` Maarten Lankhorst [not found] ` <5011A2B5.7060402-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Maarten Lankhorst @ 2012-07-26 20:04 UTC (permalink / raw) To: Christoph Bumiller; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW Op 26-07-12 20:53, Christoph Bumiller schreef: > --- > drivers/gpu/drm/nouveau/nvd0_display.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/gpu/drm/nouveau/nvd0_display.c b/drivers/gpu/drm/nouveau/nvd0_display.c > index c486d3c..c50b075 100644 > --- a/drivers/gpu/drm/nouveau/nvd0_display.c > +++ b/drivers/gpu/drm/nouveau/nvd0_display.c > @@ -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; > } Signed-off-by: Maarten Lankhorst <maarten.lankhorst-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org> Cc: stable-u79uwXL29TY76Z2rM5mHXA@public.gmane.org [3.4]+ 3.2 didn't have d9 support yet. ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <5011A2B5.7060402-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>]
* Re: [PATCH] drm/nvd0/disp: mask off high 16 bit of negative cursor x-coordinate [not found] ` <5011A2B5.7060402-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> @ 2012-07-27 4:20 ` Ben Skeggs 0 siblings, 0 replies; 3+ messages in thread From: Ben Skeggs @ 2012-07-27 4:20 UTC (permalink / raw) To: Maarten Lankhorst; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW On Fri, Jul 27, 2012 at 6:04 AM, Maarten Lankhorst <m.b.lankhorst-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > Op 26-07-12 20:53, Christoph Bumiller schreef: >> --- >> drivers/gpu/drm/nouveau/nvd0_display.c | 2 +- >> 1 files changed, 1 insertions(+), 1 deletions(-) >> >> diff --git a/drivers/gpu/drm/nouveau/nvd0_display.c b/drivers/gpu/drm/nouveau/nvd0_display.c >> index c486d3c..c50b075 100644 >> --- a/drivers/gpu/drm/nouveau/nvd0_display.c >> +++ b/drivers/gpu/drm/nouveau/nvd0_display.c >> @@ -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; >> } > > Signed-off-by: Maarten Lankhorst <maarten.lankhorst-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org> > Cc: stable-u79uwXL29TY76Z2rM5mHXA@public.gmane.org [3.4]+ I've already picked this up for nouveau git also. > > 3.2 didn't have d9 support yet. > > _______________________________________________ > Nouveau mailing list > Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org > http://lists.freedesktop.org/mailman/listinfo/nouveau ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-07-27 4:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-26 18:53 [PATCH] drm/nvd0/disp: mask off high 16 bit of negative cursor x-coordinate Christoph Bumiller
[not found] ` <1343328799-9372-1-git-send-email-e0425955-oe7qfRrRQffzPE21tAIdciO7C/xPubJB@public.gmane.org>
2012-07-26 20:04 ` Maarten Lankhorst
[not found] ` <5011A2B5.7060402-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-07-27 4:20 ` Ben Skeggs
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.