Re: [PATCH xserver v2] glamor: add support for NV12 in Xv

2018-09-11 Thread Alex Deucher
deotestsrc ! video/x-raw, format=NV12 ! xvimagesink > > v2: Combine the two texture2Ds on u_sampler. > > Signed-off-by: Julien Isorce Reviewed-by: Alex Deucher > --- > glamor/glamor_xv.c | 180 > + > 1 file changed, 1

Re: [PATCH xserver 0/3] Xv: add NV12 support in glamor

2018-09-11 Thread Alex Deucher
hat can use glamor. > > Test: gst-launch-1.0 videotestsrc ! video/x-raw, format=NV12 ! xvimagesink > > Julien Isorce (3): > xfree86: define FOURCC_NV12 and XVIMAGE_NV12 > glamor: add support for GL_RG > glamor: add support for NV12 in Xv Series is: Reviewed-

Re: [V2] modesetting: Fix X crash in ms_dirty_update()

2018-08-08 Thread Alex Deucher
gt;drawable.pScreen-> > SharedPixmapNotifyDamage. > > On the platform, since the dGPU is GPU device, so that the iGPU is > output master device. SharedPixmapNotifyDamage() should be called when > current device is output master. > > Change-Id: I8fa6922a4f75b5e068970fc4d362f778052379f2 &g

Re: [PATCH] DRI2: Sync radeonsi_pci_ids.h from Mesa

2018-05-14 Thread Alex Deucher
; > Seems we were way behind on this one, time to look into something > more scalable? > > Signed-off-by: Bas Nieuwenhuizen <b...@basnieuwenhuizen.nl> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > --- > hw/xfree86/dri2/pci_ids/radeonsi_pci_ids.h | 30

Re: [PATCH xrandr v5 0/6] xrandr: improve option parsing and documentation

2018-02-27 Thread Alex Deucher
t; up to c9755465412cbcf533d3c512397773949a26e55f. For the series: Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > > > Giuseppe Bilotta (6): > xrandr: allow a single value for --scale > xrandr: stricter --scale argument parsing > xrandr.man: grammar tuning &g

Re: [PATCH xserver] glamor: unifdef XORG_VERSION_CURRENT

2018-02-26 Thread Alex Deucher
On Mon, Feb 26, 2018 at 3:26 PM, Adam Jackson <a...@redhat.com> wrote: > This is always true now that glamor is in-tree. > > Signed-off-by: Adam Jackson <a...@redhat.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > --- > glamor/glamor_utils.h | 4 --

Re: [PATCH xserver] glamor: Add 30bit RGB color format support

2018-01-25 Thread Alex Deucher
: Michel Dänzer <michel.daen...@amd.com> Acked-by: Alex Deucher <alexander.deuc...@amd.com> > --- > glamor/glamor_egl.c | 7 +-- > glamor/glamor_fbo.c | 5 - > glamor/glamor_transfer.c | 4 > glamor/glamor_utils.h| 3 +++ > 4 files changed, 16

Re: [PATCH 00/27] edid-decode: fixes and new features and checks

2017-08-31 Thread Alex Deucher
onitor frequency > range. I didn't double check the specs, but I did a quick review of the patches and they look good to me. Series is: Acked-by: Alex Deucher <alexander.deuc...@amd.com> > > Regards, > > Hans Verkuil > > Hans Verkuil (27): > edid-decode: add HD

Re: [PATCH 0/5] Improve Present support in Xwayland with per window flips

2017-08-30 Thread Alex Deucher
On Wed, Aug 30, 2017 at 5:15 AM, Roman Gilg wrote: > On Wed, Aug 30, 2017 at 4:42 AM, Michel Dänzer wrote: >> >> >> Hi Roman, >> >> >> On 30/08/17 12:24 AM, Roman Gilg wrote: >> > >> > Originating from the bug report >> > >> >

Re: [PATCH xserver] glx: Fix error generation for non-reply vendor private requests

2017-08-22 Thread Alex Deucher
On Tue, Aug 22, 2017 at 12:19 PM, Adam Jackson <a...@redhat.com> wrote: > Discarding the return value here is just wrong. > > Signed-off-by: Adam Jackson <a...@redhat.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > --- > glx/glxcmds.c | 3 +--

Re: [PATCH xserver 1/3] glx: Remove True/False defines

2017-08-16 Thread Alex Deucher
On Wed, Aug 16, 2017 at 2:49 PM, Adam Jackson <a...@redhat.com> wrote: > Those are xlib spellings, we say TRUE/FALSE pretty consistently > elsewhere in the server. > > Signed-off-by: Adam Jackson <a...@redhat.com> Series is: Reviewed-by: Alex Deucher <alexander.deu

Re: [PATCH xserver] dri2: sort DRI2InfoPtr::version checking in ascending order

2017-08-03 Thread Alex Deucher
On Thu, Aug 3, 2017 at 2:43 PM, Emil Velikov <emil.l.veli...@gmail.com> wrote: > From: Emil Velikov <emil.veli...@collabora.com> > > Makes it easer to follow if 8 is between 7 and 9 ;-) Agreed :) Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > > Signe

Re: [PATCH xserver 1/3] modesetting: Hide cursor during DPMS

2017-08-03 Thread Alex Deucher
mode setting. After the mode setting is > finished, xf86DisableUnusedFunctions will get called and that will call > xf86CursorResetCursor to make sure the cursor is enabled everywhere it > should be. > > Here's a replacement for the modesetting patch which does this up in >

Re: [PATCH xserver 0/1] Good bye GlxSetVisualConfigs

2017-07-31 Thread Alex Deucher
ming > that it works. So here it is - update all the drivers (about 200+ lines > dropped in each) and finally remove the symbol from Xserver. > > All the drivers are built tested, unless stated otherwise. Series is: Reviewed-by: Alex Deucher <alexan

Re: [PATCH xserver 2/2] glx: don't export __glXDRISWRastProvider

2017-07-31 Thread Alex Deucher
On Mon, Jul 31, 2017 at 9:06 AM, Emil Velikov <emil.l.veli...@gmail.com> wrote: > From: Emil Velikov <emil.veli...@collabora.com> > > The symbol is used only internally and is not part of the API/ABI. > > Signed-off-by: Emil Velikov <emil.veli...@collabora.c

Re: [PATCH xserver 1/2] glx: fix typo becuase -> because

2017-07-31 Thread Alex Deucher
On Mon, Jul 31, 2017 at 9:06 AM, Emil Velikov <emil.l.veli...@gmail.com> wrote: > From: Emil Velikov <emil.veli...@collabora.com> > > Signed-off-by: Emil Velikov <emil.veli...@collabora.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > --- > gl

Re: [Mesa-dev] [PATCH dri3proto v2] Add modifier/multi-plane requests, bump to v1.1

2017-07-26 Thread Alex Deucher
On Wed, Jul 26, 2017 at 8:15 AM, Nicolai Hähnle wrote: > On 26.07.2017 08:29, Michel Dänzer wrote: >> >> On 25/07/17 05:28 PM, Nicolai Hähnle wrote: >>> >>> On 22.07.2017 14:00, Daniel Stone wrote: I don't have any great solution off the top of my head, but I'd

Re: Multi gpu display

2017-07-14 Thread Alex Deucher
On Fri, Jul 14, 2017 at 4:27 PM, Alex Deucher <alexdeuc...@gmail.com> wrote: > On Fri, Jul 14, 2017 at 4:36 AM, zhoucm1 <david1.z...@amd.com> wrote: >> >> >> On 2017年07月06日 10:30, zhoucm1 wrote: >>> >>> >>> >>> On 2017年07月06

Re: Multi gpu display

2017-07-14 Thread Alex Deucher
On Fri, Jul 14, 2017 at 4:36 AM, zhoucm1 <david1.z...@amd.com> wrote: > > > On 2017年07月06日 10:30, zhoucm1 wrote: >> >> >> >> On 2017年07月06日 00:15, Alex Deucher wrote: >>> >>> On Tue, Jul 4, 2017 at 6:26 AM, zhoucm1 <david1.z...@amd.co

Re: Multi gpu display

2017-07-05 Thread Alex Deucher
On Tue, Jul 4, 2017 at 6:26 AM, zhoucm1 <david1.z...@amd.com> wrote: > > > On 2017年07月04日 13:43, zhoucm1 wrote: >> >> >> >> On 2017年07月04日 13:34, Alex Deucher wrote: >>> >>> On Tue, Jul 4, 2017 at 1:22 AM, zhoucm1 <david1.z...@amd.com>

Re: Multi gpu display

2017-07-03 Thread Alex Deucher
On Tue, Jul 4, 2017 at 1:22 AM, zhoucm1 <david1.z...@amd.com> wrote: > > > On 2017年07月04日 11:41, Alex Deucher wrote: >> >> On Mon, Jul 3, 2017 at 4:32 AM, zhoucm1 <david1.z...@amd.com> wrote: >>> >>> Hi xorg-devel guys, >>> >>>

Re: Multi gpu display

2017-07-03 Thread Alex Deucher
On Mon, Jul 3, 2017 at 4:32 AM, zhoucm1 wrote: > Hi xorg-devel guys, > > Anyone can help me? > > I tried two gpu card with four monitors on Unbuntu 16.04, each gpu has two > monitors. > By default config, I can see four monitors all are lighting with its > separate desktop

Re: [PATCH xserver 0/4] xfree86: Miscellaneous fixes for PCI domain in BusID

2017-06-19 Thread Alex Deucher
ices > xfree86: Fix printing of PCI domain/bus in xf86MatchPciInstances > xfree86: Document BusID PCI domain format in xorg.conf manpage > xfree86: Document BusID PCI domain format in ddxDesign.xml Series is: Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > > hw/xfree86/common/xf

Re: [PATCH] xfree86: Add Option "PreferCloneMode"

2017-05-25 Thread Alex Deucher
; to choose the old default behaviour. Option "PreferCloneMode" allows > setting this preferClone member. > > Signed-off-by: Michel Dänzer <michel.daen...@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > --- > hw/xfree86/man/xorg.conf.man | 5 +

Re: [PATCH xserver] modesetting: Add the "DPI" connector type.

2017-04-25 Thread Alex Deucher
On Tue, Apr 25, 2017 at 2:36 PM, Eric Anholt <e...@anholt.net> wrote: > The number for it was merged to drm_mode.h in kernel 4.7, and the > output_names[] array just requires that we slot in new strings in > order. > > Signed-off-by: Eric Anholt <e...@anholt.net>

Re: [PATCH xserver] xfree86/modes: Make colormap/gamma glue code work with RandR disabled

2017-04-12 Thread Alex Deucher
ktop.org/100293 > Bugzilla: https://bugs.freedesktop.org/100294 > Fixes: 62f44052573b ("xfree86/modes: Move gamma initialization to > xf86RandR12Init12 v2") > > Signed-off-by: Michel Dänzer <michel.daen...@amd.com> Reviewed-by: Alex Deucher <alexan

Re: Proposal for RandR version 1.6, Leases and EDID-based output grabs

2017-04-10 Thread Alex Deucher
On Tue, Apr 4, 2017 at 3:02 AM, Daniel Vetter wrote: > On Mon, Apr 03, 2017 at 03:50:33PM -0700, Keith Packard wrote: >> Daniel Vetter writes: >> >> > Also if this confuses VR, then another reason why we want to make leases >> > invariant and only allow pure

Re: voting confirmation

2017-04-06 Thread Alex Deucher
On Thu, Apr 6, 2017 at 10:39 AM, Antoine Martin wrote: > Hi, > > Apologies for sending an image link to this list, but I can't think of a > better way to explain the somewhat confusing page that showed up after I > cast my ballot: > http://imgur.com/r8nSblg > Did it take my

Re: [PATCH xserver] xf86_crtc_supports_gamma: Return FALSE if RandR is disabled

2017-04-05 Thread Alex Deucher
c_supports_gamma are satisfied. > > Bugzilla: https://bugs.freedesktop.org/100293 > Signed-off-by: Michel Dänzer <michel.daen...@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > --- > hw/xfree86/modes/xf86Crtc.c | 3 ++- > 1 file changed, 2 insertions(+), 1 d

Re: [PATCH xserver] Xephyr: Handle source-only pictures in ephyrPrepare/DoneComposite

2017-03-22 Thread Alex Deucher
lt;michel.daen...@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > --- > hw/kdrive/ephyr/ephyr_draw.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/hw/kdrive/ephyr/ephyr_draw.c b/hw/kdrive/ephyr/ephyr_draw.c > index 5

Re: [PATCH xserver 2/2] glamor: Always purge the FBO cache in BlockHandler

2017-03-03 Thread Alex Deucher
t; potentially holding entries for a long time, while preserving the main > benefit of the cache for bursts of drawing operations. > > Signed-off-by: Michel Dänzer <michel.daen...@amd.com> Series is: Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > --- > glam

2017 X.Org Foundation Membership deadline for voting in the election

2017-02-16 Thread Alex Deucher
in the upcoming election is 05 March 2017 at 23:59 UTC. If you are interested in joining the X.Org Foundation or in renewing your membership, please visit the membership system site at: https://members.x.org/ Alex Deucher, on behalf of the X.Org elections committee

Re: [PATCH xserver 5/5] mi: Add include guards to migc.h

2017-02-16 Thread Alex Deucher
On Thu, Feb 16, 2017 at 1:03 PM, Adam Jackson <a...@redhat.com> wrote: > Signed-off-by: Adam Jackson <a...@redhat.com> Series is: Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > --- > mi/migc.h | 5 + > 1 file changed, 5 insertions(+) > > diff -

Re: [PATCH xserver 1/3] xfake: Remove

2017-02-16 Thread Alex Deucher
On Thu, Feb 16, 2017 at 12:46 PM, Adam Jackson <a...@redhat.com> wrote: > We already have Xvfb for a dummy DDX. > > Signed-off-by: Adam Jackson <a...@redhat.com> Seems reasonable to me. Series is: Acked-by: Alex Deucher <alexander.deuc...@amd.com> > --- >

Re: [PATCH 0/7] ScrnInfoRec cleanup

2017-02-14 Thread Alex Deucher
e to follow this with is removing fixed dotclock > support, on the way to unifying the pre- and post-RANDR-1.2 setup paths. > As far as I can tell this would only affect a few ancient mach64, trident, > or chips (ahem) chips. Quite possibly all of them are already unsupported > because t

Re: [PATCH xserver v2] damage: Validate source pictures bound to windows before unwrapping

2017-02-08 Thread Alex Deucher
On Wed, Feb 8, 2017 at 1:06 PM, Adam Jackson <a...@nwnk.net> wrote: > On Tue, 2017-02-07 at 11:57 -0500, Alex Deucher wrote: >> On Tue, Feb 7, 2017 at 3:38 AM, Michel Dänzer <mic...@daenzer.net> >> wrote: >> > From: Michel Dänzer <michel.daen...@amd.

Re: [PATCH xserver v2] damage: Validate source pictures bound to windows before unwrapping

2017-02-07 Thread Alex Deucher
ktop.org/show_bug.cgi?id=99220 > Signed-off-by: Michel Dänzer <michel.daen...@amd.com> Makes sense to me. Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > --- > > v2: Update code comment > > This is an alternative to https://patchwork.freedesktop.org/patch/

X.Org Foundation Membership Renewal

2017-02-02 Thread Alex Deucher
in and click the renewal link. For new members, click the Join Now link. The X.org Foundation is a non-profit organization under the SPI umbrella which acts as a steward for the X Window System and related projects. Board elections are coming up so renew or join today! Thanks! Alex Deucher

Re: [PATCH xserver 0/2] present: Allow flipping with PRIME slave outputs

2017-02-02 Thread Alex Deucher
t window instead of screen pixmap > present: Allow flipping with PRIME slave outputs For the series: Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > > dix/pixmap.c | 16 > present/present.c | 16 > 2 files chan

Re: [PATCH v2 xserver 00/11] modesetting: MS_ALL_IN_ONE

2017-01-09 Thread Alex Deucher
On Mon, Jan 9, 2017 at 3:27 AM, Hans de Goede wrote: > Hi, > > On 09-01-17 02:52, Yu, Qiang wrote: >> >> >> Hi Hans, >> >> I forgot there is another difference, PRIME solution has to copy screen >> once before display >> to iGPU while MS_ALL_IN_ONE don't have to and can

Re: [PATCH xserver v2] present: Only call present_flip_notify if vblank->queued == FALSE

2017-01-07 Thread Alex Deucher
On Sat, Jan 7, 2017 at 3:36 AM, Michel Dänzer <mic...@daenzer.net> wrote: > > Any takers? > > In the absence of a negative review, I'll push this next week, since > more people are running into this. Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > > >

Re: [PATCH fbdev] Fix shadow fb allocation size (v2)

2017-01-04 Thread Alex Deucher
On Wed, Jan 4, 2017 at 10:30 AM, Adam Jackson <a...@redhat.com> wrote: > ->bitsPerPixel is rather obviously eight times too large. > > v2: Use ->displayWidth - the pitch - not ->virtualX (Keith Packard) > > Signed-off-by: Adam Jackson <a...@redhat.com> Revie

Re: [PATCH fbdev] Fix shadow fb allocation size

2017-01-03 Thread Alex Deucher
On Tue, Jan 3, 2017 at 4:25 PM, Adam Jackson <a...@redhat.com> wrote: > ->bitsPerPixel is rather obviously eight times too large. > > Signed-off-by: Adam Jackson <a...@redhat.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > --- > src/fbdev.c |

Re: [PATCH] edid: Add quirk for ADA 1024x600 7" display.

2016-12-16 Thread Alex Deucher
off-by: Kai-Heng Feng <kai.heng.f...@canonical.com> Acked-by: Alex Deucher <alexander.deuc...@amd.com> > --- > hw/xfree86/modes/xf86EdidModes.c | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/hw/xfree86/modes/xf86EdidModes.c > b/hw/xfree86/modes/xf86Edi

Re: [PATCH cirrus] alpine: Default to 16bpp

2016-12-08 Thread Alex Deucher
On Thu, Dec 8, 2016 at 9:39 AM, Adam Jackson <a...@redhat.com> wrote: > 24bpp support is going away, so since we can't do 32bpp and these cards > have basically no VRAM to begin with, drop to 16bpp. > > Signed-off-by: Adam Jackson <a...@redhat.com> Reviewed-by: Alex

Re: [PATCH xserver] DRI2: Sync radeonsi_pci_ids.h from Mesa

2016-10-17 Thread Alex Deucher
; Signed-off-by: Michel Dänzer <michel.daen...@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > --- > hw/xfree86/dri2/pci_ids/radeonsi_pci_ids.h | 12 > 1 file changed, 12 insertions(+) > > diff --git a/hw/xfree86/dri2/pci_ids/radeonsi_pci_ids.

Re: [PATCH xserver 2/2] xf86RandR12: Fix XF86VidModeSetGamma triggering a BadImplementation error

2016-09-19 Thread Alex Deucher
On Mon, Sep 19, 2016 at 11:31 AM, Alex Deucher <alexdeuc...@gmail.com> wrote: > On Sat, Sep 17, 2016 at 6:00 AM, Hans de Goede <hdego...@redhat.com> wrote: >> Commit b4e46c0444bb ("xfree86: Hook up colormaps and RandR 1.2 gamma code") >> dropped the providing

Re: [PATCH xserver 2/2] xf86RandR12: Fix XF86VidModeSetGamma triggering a BadImplementation error

2016-09-19 Thread Alex Deucher
dR 1.2 gamma code") > Signed-off-by: Hans de Goede <hdego...@redhat.com> Not too familiar with the code in question, but it looks sane to me. Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > --- > hw/xfree86/modes/xf86RandR12.c | 29 + > 1

Re: [PATCH xserver] Add SyncSharedPixmap ScreenRec hook

2016-08-31 Thread Alex Deucher
On Wed, Aug 31, 2016 at 4:56 AM, Michel Dänzer <mic...@daenzer.net> wrote: > From: Michel Dänzer <michel.daen...@amd.com> > > Signed-off-by: Michel Dänzer <michel.daen...@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > --- > include/scr

Re: [PATCH xserver v3] glamor: Handle bitplane in glamor_copy_fbo_cpu

2016-08-18 Thread Alex Deucher
> v3: > * Make the change a bit more compact and hopefully more readable by > re-using the existing src_* locals in the bitplane case as well. > > Reported-by: Keith Raghubar <keith.raghu...@amd.com> > Signed-off-by: Michel Dänzer <michel.daen...@amd.com> Reviewed-by: A

Re: [PATCH xserver] xfree86/modes: Handle no palette case better in xf86RandR12CrtcSetGamma

2016-08-01 Thread Alex Deucher
monitor colours with drivers which don't call >> xf86HandleColormaps, e.g. modesetting. > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97154 > Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > >> Signed-off-by: Michel Dänzer <michel.daen...@amd.com> >>

Re: [PATCH RFC xserver] dix: Work around non-premultiplied ARGB cursor data

2016-07-15 Thread Alex Deucher
d or bad idea. > > Pro: > * Allows users with affected setups to play broken games > * Less overhead than a corresponding workaround in the driver > > Con: > * Makes the problem completely invisible to game developers, so once > it's in we can probably never remove it

Re: [PATCH v3 xserver 3/3] xfree86: Hook up colormaps and RandR 1.2 gamma code

2016-06-22 Thread Alex Deucher
2 > Signed-off-by: Michel Dänzer <michel.daen...@amd.com> > --- > > v3: Free randrp->palette in xf86RandR12CloseScreen, fixes memory leak. Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > > hw/xfree86/common/xf86Helper.c | 7 +- > hw/xfree8

Re: [PATCH v2 xserver 3/3] xfree86: Hook up colormaps and RandR 1.2 gamma code

2016-06-21 Thread Alex Deucher
rver startup I'm not really an expert with respect to the colormap code, but the changes look sane to me. For the series: Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > > hw/xfree86/common/xf86Helper.c | 7 +- > hw/xfree86/common/xf86cmap.c | 55 ++--- > hw/xfree86/

Re: [PATCH xserver] glamor: Adjust for drawable x/y in composite's copy optimization

2016-05-27 Thread Alex Deucher
tes, so the dx and dy values > passed in need to be converted from drawable-relative to absolute by > adding the drawable x/y values. > > Signed-off-by: Keith Packard <kei...@keithp.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > --- > glamor/glamo

Re: [PATCH xserver] glamor: Check for composite operations which are equivalent to copies

2016-05-25 Thread Alex Deucher
d-off-by: Michel Dänzer <michel.daen...@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > --- > glamor/glamor_render.c | 23 +++ > 1 file changed, 23 insertions(+) > > diff --git a/glamor/glamor_render.c b/glamor/glamor_render.c > in

Re: [PATCH xserver] glamor: Fix sampling outside of RGBx source/mask pictures

2016-05-25 Thread Alex Deucher
f-by: Michel Dänzer <michel.daen...@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > --- > glamor/glamor_render.c | 36 > 1 file changed, 24 insertions(+), 12 deletions(-) > > diff --git a/glamor/glamor

Re: [PATCH xserver] glamor: Disable logic ops when doing compositing

2016-05-13 Thread Alex Deucher
On Fri, May 13, 2016 at 7:29 AM, Keith Packard <kei...@keithp.com> wrote: > If the logic op gets left enabled, it overrides the blending > operation, causing incorrect contents on the display. > > Signed-off-by: Keith Packard <kei...@keithp.com> Makes sense. R

Re: [PATCH 2/2] modesetting: port clean start code from amdgpu. (v2)

2016-05-02 Thread Alex Deucher
e...@anholt.net> > Signed-off-by: Dave Airlie <airl...@redhat.com> For the series: Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > --- > hw/xfree86/drivers/modesetting/driver.c | 21 > hw/xfree86/drivers/modesetting/drmmod

Re: misc prime/modesetting fixes

2016-04-29 Thread Alex Deucher
bug we have currently leaking > the slave BO, his fix wasn't very symmetrical, however to make a > nice fix I had to break the ABI by passing a NULL where we didn't > before. patches 1-5 are: Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > > Dave. > >

Re: [PATCH xserver 4/4] xfree86/parser: simplify #ifdef ladder

2016-04-18 Thread Alex Deucher
gt; Series is: Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > --- > > If people prefer we can split out the different implementations > (HAS_SAVED_IDS_AND_SETEUID vs not) to separate functions and call if > from xf86writeConfigFile(). I don't mind either way.

Re: [PATCH xserver] dri3: remove unused file dri3int.h

2016-04-18 Thread Alex Deucher
On Sun, Apr 17, 2016 at 3:34 PM, Emil Velikov <emil.l.veli...@gmail.com> wrote: > Copied during the prototyping stage and never used. > > Cc: Keith Packard <kei...@keithp.com> > Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com> Reviewed-by: Alex Deuc

Re: [xrandr v2] Select NearestNeighbour filtering for pixel exact scaling

2016-04-04 Thread Alex Deucher
w the user to specify what filter they want using --filter, but > default to automatic selection. > > References: https://bugs.freedesktop.org/show_bug.cgi?id=94816 Also: https://bugs.freedesktop.org/show_bug.cgi?id=94820 Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > S

Re: [PATCH xserver] DRI2: add Polaris PCI IDs

2016-03-28 Thread Alex Deucher
On Mon, Mar 28, 2016 at 3:36 AM, Michel Dänzer <mic...@daenzer.net> wrote: > From: Sonny Jiang <sonny.ji...@amd.com> > > Signed-off-by: Sonny Jiang <sonny.ji...@amd.com> > Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> (Polaris10) > Reviewed-by

Re: [PATCHv2] modesetting: Add common widescreen resolutions

2016-02-22 Thread Alex Deucher
On Sun, Feb 21, 2016 at 6:12 AM, Adel Gadllah wrote: > Stolen from the intel ddx driver, see: > https://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=26fd6bec > https://bugs.freedesktop.org/show_bug.cgi?id=37858 > > it makes those common modes selectable

Google Summer of Code 2016

2016-02-18 Thread Alex Deucher
Hi, It's time to start thinking about the Google Summer of Code for 2016! The Xorg GSoC project is open to all projects related to graphics, windowing systems, and related technologies (Mesa, Wayland, X, input, kernel, OpenGL, OpenCL, etc.). For mentors and developers, please start thinking of

Re: Hybrid graphics - "radeon" driver unloaded, "modesetting" loaded?

2016-02-10 Thread Alex Deucher
On Wed, Feb 10, 2016 at 7:58 AM, Lennert Van Alboom wrote: > On Fri, Feb 05, 2016 at 11:24:12AM +0900, Michel Dänzer wrote: >> On 04.02.2016 19:05, Lennert Van Alboom wrote: >> > Hello. I've got a HP Elitebook 850g1 with hybrid graphics: >> > >> > $ lspci | grep VGA >>

Re: [PATCH rendercheck 1/5] Start using stdbool.h instead of Xlib or custom bools.

2016-02-01 Thread Alex Deucher
On Mon, Feb 1, 2016 at 4:48 PM, Eric Anholt wrote: > I have a hard time typing anything else at this point. > > Signed-off-by: Eric Anholt > --- > main.c | 21 ++ > ops.c| 2 +- > rendercheck.h| 58

Re: [PATCH xserver] modesetting: Require sufficiently new libdrm

2016-01-27 Thread Alex Deucher
On Wed, Jan 27, 2016 at 11:50 AM, Adam Jackson <a...@redhat.com> wrote: > Bugzilla: https://bugs.freedesktop.org/93883 > Signed-off-by: Adam Jackson <a...@redhat.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > --- > configure.ac | 3 +-- >

Re: [PATCH xserver] xfree86/modes: Set RandR primary output from CreateScreenResources

2016-01-14 Thread Alex Deucher
gt; marked as primary using Option "Primary" in Section "Monitor". > > Signed-off-by: Michel Dänzer <michel.daen...@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > --- > hw/xfree86/modes/xf86RandR12.c | 8 > 1 file cha

Re: [PATCH xserver] prime: Damage full destination rectangle when we start dirty tracking

2015-12-03 Thread Alex Deucher
; Signed-off-by: Michel Dänzer <michel.daen...@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > --- > dix/pixmap.c | 21 + > 1 file changed, 21 insertions(+) > > diff --git a/dix/pixmap.c b/dix/pixmap.c > index 05aebc4..11d83fe 100644

Re: [PATCH xserver 3/4] modesetting: Remove XF86_CRTC_VERSION checks

2015-10-30 Thread Alex Deucher
n: > xf86Crtc.h:#define XF86_CRTC_VERSION 6 > > Signed-off-by: Daniel Martin <consume.no...@gmail.com> For 1-3: Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > --- > hw/xfree86/drivers/modesetting/drmmode_display.c | 7 +-- > 1 file changed, 1 insertion(+), 6 del

Re: [PATCH xserver] DRI2: Sync radeonsi_pci_ids.h from Mesa

2015-10-27 Thread Alex Deucher
; Signed-off-by: Michel Dänzer <michel.daen...@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > --- > hw/xfree86/dri2/pci_ids/radeonsi_pci_ids.h | 28 > 1 file changed, 28 insertions(+) > > diff --git a/hw/xfree86/dri

Re: [PATCH] Only align screen / scanout pixmap height where necessary

2015-10-02 Thread Alex Deucher
er Paul <cp...@redhat.com> > Signed-off-by: Michel Dänzer <michel.daen...@amd.com> Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> Anyone want to port this to amdgpu? Alex > --- > > Stephen Chandler, > > thanks for the good catch, but I think we can take th

Re: via_ati_questions

2015-08-06 Thread Alex Deucher
On Thu, Aug 6, 2015 at 9:55 AM, Doug Lasse yeaohyea...@gmail.com wrote: Hi, I'm writing to you cause I have several questions about my 2 graphics card which are VIA K8N800/K8M800/K8N800A Unichrome Pro IGP and ATI Radeon 8500. For my VIA : I've tried openchrome and proprietary via driver but

Re: [PATCH] [RFC] modesetting: add zaphod support (v2)

2015-08-06 Thread Alex Deucher
all the Zaphod patches into one patch, throwing away my commit messages, so we have one nice patch to show the state of the art in ZaphodHeads enablement? Both Dave and Mario's patches are: Reviewed-by: Alex Deucher alexander.deuc...@amd.com thanks, -mario On 07/27/2015 01:43 AM, Dave

Re: [PATCH xf86-video-sis] Remove upload / download EXA hooks

2015-08-03 Thread Alex Deucher
On Mon, Aug 3, 2015 at 1:24 PM, Connor Behan connor.be...@gmail.com wrote: Support based on something other than libc memcpy was never added, so these functions did not improve upon software fallback at all. Signed-off-by: Connor Behan connor.be...@gmail.com Reviewed-by: Alex Deucher

Re: [PATCH 1/2] Add Bonaire 0x665F

2015-07-28 Thread Alex Deucher
On Sun, Jul 26, 2015 at 5:35 PM, Josef Larsson josla...@student.liu.se wrote: The PCI ID was missing so the xorg radeon driver could not find my graphics card (XFX Radeon R7 360), so I added it and now it works fine: # lspci | grep VGA 01:00.0 VGA compatible controller: Advanced Micro

Re: [PATCH 1/4] modesetting: Implement 32-24 bpp conversion in shadow update

2015-07-22 Thread Alex Deucher
a...@redhat.com Signed-off-by: Dave Airlied airl...@redhat.com For the series: Reviewed-by: Alex Deucher alexander.deuc...@amd.com --- hw/xfree86/drivers/modesetting/Makefile.am | 2 + hw/xfree86/drivers/modesetting/driver.c | 41 --- hw/xfree86/drivers/modesetting

Re: [PATCH 1/7] glamor: Drop a redundant check.

2015-07-01 Thread Alex Deucher
On Tue, Jun 30, 2015 at 6:58 PM, Eric Anholt e...@anholt.net wrote: Above, we've already checked for -fbo -fbo-fb and returned. Signed-off-by: Eric Anholt e...@anholt.net Reviewed-by: Alex Deucher alexander.deuc...@amd.com --- glamor/glamor_pixmap.c | 3 +-- 1 file changed, 1 insertion

Re: [PATCH 7/7] glamor: Use ARRAY_SIZE in a couple more places for consistency.

2015-07-01 Thread Alex Deucher
On Tue, Jun 30, 2015 at 6:58 PM, Eric Anholt e...@anholt.net wrote: Signed-off-by: Eric Anholt e...@anholt.net Reviewed-by: Alex Deucher alexander.deuc...@amd.com --- glamor/glamor_program.c | 6 ++ glamor/glamor_render.c | 5 + 2 files changed, 3 insertions(+), 8 deletions

Re: [PATCH 5/7] glamor: Make a bunch of single-file glamor functions static.

2015-07-01 Thread Alex Deucher
On Tue, Jun 30, 2015 at 6:58 PM, Eric Anholt e...@anholt.net wrote: Signed-off-by: Eric Anholt e...@anholt.net Reviewed-by: Alex Deucher alexander.deuc...@amd.com --- glamor/glamor_largepixmap.c | 10 +++--- glamor/glamor_priv.h| 22 -- glamor

Re: [PATCH 2/7] glamor: Fix up some weird formatting in _glamor_create_fbo_array().

2015-07-01 Thread Alex Deucher
On Tue, Jun 30, 2015 at 6:58 PM, Eric Anholt e...@anholt.net wrote: Signed-off-by: Eric Anholt e...@anholt.net Reviewed-by: Alex Deucher alexander.deuc...@amd.com --- glamor/glamor_fbo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glamor/glamor_fbo.c b/glamor

Re: [PATCH 4/7] glamor: Drop dead glamor_es2_pixmap_read_prepare().

2015-07-01 Thread Alex Deucher
On Tue, Jun 30, 2015 at 6:58 PM, Eric Anholt e...@anholt.net wrote: It's been unused since I killed glamor_download_pixmap_to_cpu(). Signed-off-by: Eric Anholt e...@anholt.net Reviewed-by: Alex Deucher alexander.deuc...@amd.com --- glamor/glamor_pixmap.c | 70

Re: [PATCH 3/7] glamor: Restore the hook to glamor_composite_rectangles().

2015-07-01 Thread Alex Deucher
On Tue, Jun 30, 2015 at 6:58 PM, Eric Anholt e...@anholt.net wrote: It was apparently accidentally dropped in keithp's removal of _nf functions in 90d326fcc687e6d6d4b308f6272ededcf8145a17. Signed-off-by: Eric Anholt e...@anholt.net Reviewed-by: Alex Deucher alexander.deuc...@amd.com

Re: [PATCH] prime: add rotation support for offloaded outputs (v2)

2015-07-01 Thread Alex Deucher
and rotations. This breaks ABI in two places. Signed-off-by: Dave Airlie airl...@redhat.com Reviewed-by: Alex Deucher alexander.deuc...@amd.com --- dix/pixmap.c | 180 +-- hw/xfree86/drivers/modesetting/driver.c | 2 +- hw/xfree86

Re: [PATCH 6/7] glamor: Mark a bunch of single-file data static.

2015-07-01 Thread Alex Deucher
Anholt e...@anholt.net Reviewed-by: Alex Deucher alexander.deuc...@amd.com --- glamor/glamor_core.c| 2 +- glamor/glamor_program.c | 8 glamor/glamor_render.c | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/glamor/glamor_core.c b/glamor/glamor_core.c

Re: [PATCH] [RFC] cursor: drop ARGB_CURSOR

2015-06-09 Thread Alex Deucher
it. Signed-off-by: Dave Airlie airl...@redhat.com Reviewed-by: Alex Deucher alexander.deuc...@amd.com --- dix/cursor.c | 8 hw/kdrive/ephyr/ephyrcursor.c | 4 hw/xfree86/modes/xf86Cursors.c | 8 hw/xfree86/ramdac/xf86Cursor.c | 2 -- hw/xfree86

Re: [PATCH 1/4] present: static cleanup

2015-06-02 Thread Alex Deucher
On Tue, Jun 2, 2015 at 11:37 AM, Adam Jackson a...@redhat.com wrote: Signed-off-by: Adam Jackson a...@redhat.com For the series: Reviewed-by: Alex Deucher alexander.deuc...@amd.com --- present/present_event.c | 2 +- present/present_priv.h| 2 -- present/present_request.c | 4

Re: [PATCH] xfree86: attempt to autoconfig gpu slave devices (v3)

2015-04-22 Thread Alex Deucher
will get assigned to the GPUDevice sections for the screen. v2: fix the skipping unsuitable screen logic (Aaron) v3: fix segfault if not conf file (me, 5s after sending v2) Anyone care to r-b this? I'm not too familiar with the code in question, but the logic seems correct. Reviewed-by: Alex

Re: [PATCH] Add amdgpu as a default driver for AMD GPUs

2015-04-20 Thread Alex Deucher
On Mon, Apr 20, 2015 at 11:08 PM, Michel Dänzer mic...@daenzer.net wrote: From: Michel Dänzer michel.daen...@amd.com Its Probe hook bails cleanly when it can't initialize, in which case the ati driver will be tried next. Signed-off-by: Michel Dänzer michel.daen...@amd.com Reviewed-by: Alex

Re: [PATCH 0/5] Trivial randr cleanups

2015-03-20 Thread Alex Deucher
decided to remove them. Alternatively we can change them to LogMessageVerb(X_INFO, 3...) or similar. While there, my editor pointed out a few long lines so I've decided to address those as well :-) Any and all input will be appreciated. For the series: Reviewed-by: Alex Deucher alexander.deuc

Re: [PATCH 2/2] modesetting: Include dix-config.h from dumb_bo.c

2015-03-17 Thread Alex Deucher
On Mon, Mar 16, 2015 at 9:21 PM, Michel Dänzer mic...@daenzer.net wrote: From: Michel Dänzer michel.daen...@amd.com Fixes mmap failures with 32-bit builds. Signed-off-by: Michel Dänzer mic...@daenzer.net For the series: Reviewed-by: Alex Deucher alexander.deuc...@amd.com --- hw/xfree86

Re: [PATCH 2/2] exa: Verify non-null pSrc in mgaDownloadFromScreen()

2015-03-03 Thread Alex Deucher
On Tue, Mar 3, 2015 at 2:21 PM, Tormod Volden lists.tor...@gmail.com wrote: On Tue, Mar 3, 2015 at 3:18 AM, Michel Dänzer wrote: On 03.03.2015 05:01, Tormod Volden wrote: mgaDownloadFromScreen(PixmapPtr pSrc, int x, int y, int w, int h, char *dst, int dst_pitch) { +

Re: [PATCH 2/2] exa: Verify non-null pSrc in mgaDownloadFromScreen()

2015-03-03 Thread Alex Deucher
On Tue, Mar 3, 2015 at 3:50 PM, Tormod Volden lists.tor...@gmail.com wrote: On Tue, Mar 3, 2015 at 9:21 PM, Alex Deucher wrote: On Tue, Mar 3, 2015 at 2:21 PM, Tormod Volden wrote: On Tue, Mar 3, 2015 at 3:18 AM, Michel Dänzer wrote: About patch 1, since mgaDownloadFromScreen doesn't do

GSoC Ideas!

2015-02-11 Thread Alex Deucher
Hi everyone! It's that time of year again. Time to start coming up with GSoC ideas. Martin and I are organizing this year's Xorg entry. We need to fill in our ideas page with some good possible projects for students. The project ideas should be something that a student could accomplish over

Re: [PATCH] glamor: check max native ALU instructions

2015-01-28 Thread Alex Deucher
On Wed, Jan 28, 2015 at 4:55 PM, Ian Romanick i...@freedesktop.org wrote: On 01/28/2015 01:00 PM, Olivier Fourdan wrote: On 28/01/15 21:17, Ian Romanick wrote: Do we know which GPUs cannot meet this limit and also do not have true integer support? I wonder if we should go ahead and do the

Re: [xf86-video-ati] dri2: Enable BufferAge support

2015-01-20 Thread Alex Deucher
exchanges. radeon does not support TripleBuffering so we do not have to worry about perserving the flags when injecting the third buffer. Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk Cc: Dave Airlie airl...@redhat.com Cc: Jerome Glisse jgli...@redhat.com Cc: Alex Deucher alexander.deuc

Re: [PATCH] randr/prime: Don't stop on the first pipe when disabling ReplaceScanoutPixmap

2015-01-16 Thread Alex Deucher
://bugs.freedesktop.org/show_bug.cgi?id=84653 Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk Cc: Dave Airlie airl...@redhat.com Tested-by: Christoph Haag haa...@frickel.club Ping? Reviewed-by: Alex Deucher alexander.deuc...@amd.com -Chris -- Chris Wilson, Intel Open Source

Re: [PATCHv2] dri2: Set vdpau driver name if ddx does not provide any driver name

2015-01-06 Thread Alex Deucher
assume that the VDPAU driver matches the DRI2 driver name, this is true for nouveau, r300, r600 and radeonsi i.e all VDPAU drivers currently supported by mesa. Signed-off-by: Adel Gadllah adel.gadl...@gmail.com Reviewed-by: Alex Deucher alexander.deuc...@amd.com --- hw/xfree86/dri2/dri2.c | 6

  1   2   3   4   >