[PATCH] drm/amdgpu/gfx8: move CE&DE meta data structure to vi_structs.h

2017-03-05 Thread Xiangliang Yu
Because different HWs have different definition for CE & DE meta data, follow mqd design to move the structures to vi_structs.h. And change the prefix from amdgpu to vi as the structures is only for VI family. Signed-off-by: Xiangliang Yu --- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c| 16 ++---

[PATCH 1/2] drm/amdgpu: print full bios version in dmesg.

2017-03-05 Thread Rex Zhu
Change-Id: Id1057eeb8f884a7409917e75706c8f96027b548a Signed-off-by: Rex Zhu Reviewed-by: Xiaojie Yuan Reviewed-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/atom.c | 19 +++ drivers/gpu/drm/amd/amdgpu/atom.h | 1 + 2 files changed, 8 insertions(+), 12 deletions(-) diff --git

[PATCH 2/2] drm/amdgpu: refine vce2.0 dpm sequence

2017-03-05 Thread Rex Zhu
Change-Id: I48a305f144f032b1b8d1ceda1653f004a56c9e77 --- drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c index adaa9ca..716c22d 100644 --- a/drivers/gpu

[PATCH xf86-video-amdgpu v2 7/9] Call drmmode_set_desired_modes from a WindowExposures hook

2017-03-05 Thread Michel Dänzer
From: Michel Dänzer This is the earliest opportunity where the root window contents are guaranteed to be initialized, and prevents drmmode_set_mode_major from getting called before drmmode_set_desired_modes via AMDGPUUnblank -> drmmode_crtc_dpms. Also, in contrast to the BlockHandler hook, this i

Re: [PATCH xf86-video-ati] Fix build for XServer 1.13

2017-03-05 Thread Michel Dänzer
On 05/03/17 07:38 PM, Jochen Rollwagen wrote: > Latest git build stops with the error message > > radeon_kms.c: In function 'RADEONWindowExposures_oneshot': > radeon_kms.c:1644:45: error: expected expression before 'RegionPtr' > pScreen->WindowExposures(pWin, pRegion, RegionPtr pBSRegion); >

[PATCH xf86-video-ati] Fix build for XServer 1.13

2017-03-05 Thread Jochen Rollwagen
Latest git build stops with the error message radeon_kms.c: In function 'RADEONWindowExposures_oneshot': radeon_kms.c:1644:45: error: expected expression before 'RegionPtr' pScreen->WindowExposures(pWin, pRegion, RegionPtr pBSRegion); This patch fixes the build. --- src/radeon_kms.c |2