- 19 Feb, 2016 8 commits
-
-
Michel Dänzer authored
-
Michel Dänzer authored
(ported from radeon commit ff9a6b6f079a8419f4e6fadfee778060618bf735) Reviewed-by:
Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit a36bbfd9)
-
Michel Dänzer authored
Fixes unresolved symbols on some systems. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93105 (ported from radeon commit 78fbca095ae9887a2d3de48bb07975e2d1126e68) Reviewed-by:
Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit a37746ff)
-
Michel Dänzer authored
Acceleration is required even for display offloading. Trying to enable display offloading without acceleration resulted in a crash. (ported from radeon commit b19417e2fddf4df725951aea5ad5e9558338f59e) Reviewed-by:
Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 59c0a680)
-
Michel Dänzer authored
Otherwise the front buffer may not be accessible by the CPU, because Mesa sets the AMDGPU_GEM_CREATE_NO_CPU_ACCESS flag for tiled buffers, because accessing tiled buffers with the CPU makes little sense. v2: Also handle Option "AccelMethod" "none" Reviewed-by:
Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit a3eac85d)
-
Mykola Lysenko authored
This disables query of disabled pipes for drmWaitVBlank on X start Signed-off-by:
Mykola Lysenko <Mykola.Lysenko@amd.com> Reviewed-by:
Michel Dänzer <michel.daenzer@amd.com> (cherry picked from commit 4eb9cedc)
-
Michel Dänzer authored
It may be disabled in the Xorg build, either explicitly or because the xshmfence library isn't available. Reviewed-by:
Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 1d0b0c17)
-
Mykola Lysenko authored
This situation happens whit start of usage of DRM DP MST framework, when connectors created and destroyed dynamically. Signed-off-by:
Mykola Lysenko <Mykola.Lysenko@amd.com> Reviewed-by:
Michel Dänzer <michel.daenzer@amd.com> (cherry picked from commit f4107f67)
-
- 19 Nov, 2015 10 commits
-
-
Michel Dänzer authored
-
Michel Dänzer authored
Fixes make distcheck.
-
Stephen Chandler Paul authored
This fixes a bug where running the card out of PPLL's when hotplugging another monitor would result in all of the displays going blank and failing to work properly until X was restarted or the user switched to another VT. [Michel Dänzer: Pass errno instead of -ret to strerror()] Signed-off-by:
Stephen Chandler Paul <cpaul@redhat.com> (ported from radeon commit 7186a8713ba004de4991f21c1a9fc4abc62aeff4) Reviewed-by:
Alex Deucher <alexander.deucher@amd.com>
-
Michel Dänzer authored
Fixes various problems when rotation is specified in xorg.conf. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92475 (ported from radeon commit 548e97b3b7d1e94075a54ca2bb4eb683025098a7) Reviewed-by:
Alex Deucher <alexander.deucher@amd.com>
-
Emil Velikov authored
Not used directly. Signed-off-by:
Emil Velikov <emil.l.velikov@gmail.com> (ported from radeon commit fcb32231a38f9461d12720cbf72f63502197a711) Reviewed-by:
Alex Deucher <alexander.deucher@amd.com>
-
Michel Dänzer authored
The vblank / page flip ioctls don't work as expected for a disabled CRTC. (ported from radeon commit acc11877423ecd81a6e0a7f38466f80e43efee20) Reviewed-by:
Alex Deucher <alexander.deucher@amd.com>
-
Michel Dänzer authored
The former includes information about the position of the hotspot within the cursor image. Copied from xf86-video-modesetting. (ported from radeon commit c9f8f642fd495937400618a4fc25ecae3f8888fc) Reviewed-by:
Alex Deucher <alexander.deucher@amd.com>
-
Michel Dänzer authored
Xorg tends to crash if the user tries to actually use the offload capabilities with acceleration disabled. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=57200 (ported from radeon commit c74de9fec13fac2c836bb2a07ae6f90e1d61e667) Reviewed-by:
Alex Deucher <alexander.deucher@amd.com>
-
Michel Dänzer authored
Removes the need for a double negation when forcing acceleration on. Note that this change is backwards compatible, as the option parser automagically handles the 'No' prefix. (ported from radeon commit cc615d06db0332fc6e673b55632bcc7bf957b44b) Reviewed-by:
Alex Deucher <alexander.deucher@amd.com>
-
Adam Jackson authored
I plan to delete the Weak functions from a future server. Signed-off-by:
Adam Jackson <ajax@redhat.com> (ported from radeon commit 851b2cf8714618843725f6d067915375485ade9d) Reviewed-by:
Alex Deucher <alexander.deucher@amd.com>
-
- 11 Nov, 2015 1 commit
-
-
Michel Dänzer authored
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=77810 (ported from radeon commit c84230d686c078aac1dc98d82153f8b02521b2e1) Reviewed-by:
Alex Deucher <alexander.deucher@amd.com>
-
- 04 Nov, 2015 2 commits
-
-
Michel Dänzer authored
Fixes warning when building with --disable-glamor: ../../src/amdgpu_dri3.c: In function 'amdgpu_dri3_fd_from_pixmap': ../../src/amdgpu_dri3.c:135:16: warning: unused variable 'info' [-Wunused-variable] AMDGPUInfoPtr info = AMDGPUPTR(scrn); ^ Reported-by:
Jammy Zhou <Jammy.Zhou@amd.com> Reviewed-by:
Alex Deucher <alexander.deucher@amd.com>
-
Michel Dänzer authored
It's safe now. Reviewed-by:
Alex Deucher <alexander.deucher@amd.com>
-
- 02 Nov, 2015 1 commit
-
-
Michel Dänzer authored
It crashes if info == NULL. Reviewed-by:
Alex Deucher <alexander.deucher@amd.com>
-
- 30 Oct, 2015 4 commits
-
-
Michel Dänzer authored
Increase pAMDGPUEnt->fd_ref in the probe code instead when we're reusing the existing fd. The previous reference counting was imbalanced, so pAMDGPUEnt->fd_ref could never go to 0. Reviewed-by:
Jammy Zhou <Jammy.Zhou@amd.com>
-
Michel Dänzer authored
Use pAMDGPUEnt->fd everywhere instead. Reviewed-by:
Jammy Zhou <Jammy.Zhou@amd.com>
-
Jammy Zhou authored
Instead of throwing away the type information by passing it as a void*. Signed-off-by:
Michel Dänzer <michel.daenzer@amd.com> Reviewed-by:
Alex Deucher <alexander.deucher@amd.com>
-
Jammy Zhou authored
The crash is caused by the NULL value returned by AMDGPUPTR(pScrn), because the driverPrivate is not allocated yet in PciProbe phase, and it is usually done in the PreInit phase. Use pAMDGPUEnt->fd instead of info->dri2.drm_fd to avoid AMDGPUInfoPtr related code in amdgpu_open_drm_master, so that the crash can be fixed. v4: (md) Remove unused parameter entity_num, split out logically separate changes v3: some more cleanup v2: switch to pAMDGPUEnt->fd, and update the commit message Signed-off-by:
Jammy Zhou <Jammy.Zhou@amd.com> Signed-off-by:
Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> (v3)
-
- 28 Oct, 2015 1 commit
-
-
Michel Dänzer authored
amdgpu_get_scrninfo allocates the memory pointed to by pAMDGPUEnt just before it calls amdgpu_open_drm_master, so pAMDGPUEnt->fd is always 0 in the latter. Also, no need to clear pAMDGPUEnt->fd just before freeing the memory it's stored in. Reviewed-by:
Jammy Zhou <Jammy.Zhou@amd.com>
-
- 23 Oct, 2015 1 commit
-
-
Samuel Li authored
(agd): rebase Reviewed-by:
Michel Dänzer <michel.daenzer@amd.com> Signed-off-by:
Samuel Li <samuel.li@amd.com>
-
- 21 Oct, 2015 2 commits
-
-
Michel Dänzer authored
This reverts commit 17525164. I accidentally pushed this patch.
-
Darren Powell authored
This was missed in commit c57da333. Signed-off-by:
Darren Powell <darren.powell@amd.com> Reviewed-by:
Alex Deucher <alexander.deucher@amd.com> Reviewed-by:
Michel Dänzer <michel.daenzer@amd.com>
-
- 15 Oct, 2015 2 commits
-
-
Michel Dänzer authored
-
Tom Denis authored
Remove the depth_pixmap variable from the function and clear out any dead/odd behaviour that results. Signed-off-by:
Tom St Denis <tom.stdenis@amd.com>
-
- 14 Oct, 2015 2 commits
-
-
Michel Dänzer authored
We were printing an error message, but not propagating the failure. That would probably lead to trouble down the road. Reviewed-by:
Alex Deucher <alexander.deucher@amd.com>
-
Michel Dänzer authored
drmmode_crtc_scanout_create just needs to call drmmode_crtc_scanout_allocate when scanout->bo is NULL. This makes it clearer to the reader / compiler that drmmode_crtc_scanout_create doesn't dereference scanout->bo when it's NULL. Reviewed-by:
Alex Deucher <alexander.deucher@amd.com>
-
- 07 Oct, 2015 3 commits
-
-
Michel Dänzer authored
Rotation currently doesn't work without acceleration (doesn't actually rotate with Option "NoAccel", crashes with Option "AccelMethod" "none" or when glamor fails to initialize) and would probably be too slow anyway. v2: Also remove now dead code checking for ShadowFB from drmmode_crtc_scanout_allocate(). Reviewed-by:
Alex Deucher <alexander.deucher@amd.com>
-
Tom Denis authored
The function would leak the memory allocated for output_ids. This patch addresses that as well as simplifies the logic somewhat. Signed-off-by:
Tom St Denis <tom.stdenis@amd.com> Reviewed-by:
Michel Dänzer <michel.daenzer@amd.com>
-
Tom Denis authored
This avoids a NULL dereference if the memory allocation fails. Signed-off-by:
Tom St Denis <tom.stdenis@amd.com> Reviewed-by:
Michel Dänzer <michel.daenzer@amd.com>
-
- 06 Oct, 2015 3 commits
-
-
Tom Denis authored
Based on radeon commit: b32a0a3de84a44b9af4f1ca8be19f10d7fa31b12 Some of these were set, some of them were always opposites, so clean things up. Signed-off-by:
Tom St Denis <tom.stdenis@amd.com> Reviewed-by:
Michel Dänzer <michel.daenzer@amd.com>
-
Tom Denis authored
Based on radeon commit: 95f5d09e3667ded027ae648c97eb4737d8bf67c5 The DRM_IOCTL_WAIT_VBLANK ioctl may return an error during DPMS off, which would trigger an error message in drmmode_crtc_get_ust_msc. Signed-off-by:
Tom St Denis <tom.stdenis@amd.com> Reviewed-by:
Michel Dänzer <michel.daenzer@amd.com>
-
Tom Denis authored
Based on radeon commit 211862b777d0be251a4662f5dd24f2d400544c09 Inspired by modesetting driver change by Kenneth Graunke. Signed-off-by:
Tom St Denis <tom.stdenis@amd.com> Reviewed-by:
Michel Dänzer <michel.daenzer@amd.com>
-