From: Michel Dänzer
Mostly to align with radeon commit
ea30d856ba5e7274c8ea499293b8b0e721b8e082, but also gets rid of a
gbm_bo_get_stride call.
Signed-off-by: Michel Dänzer
---
src/drmmode_display.c | 22 ++
1 file changed, 10 insertions(+), 12 deletions(-)
diff --git a/sr
Change-Id: Ib5b1446544a388d769cd5e614949693a61d960cf
Signed-off-by: Harry Wentland
Acked-by: Harry Wentland
---
drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c
b/dri
Change-Id: I80cd95f412679f56ecc71a8c13f62e7da88912f9
Signed-off-by: Harry Wentland
Acked-by: Harry Wentland
---
drivers/gpu/drm/amd/display/dc/calcs/gamma_calcs.c | 39 --
1 file changed, 39 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/calcs/gamma_calcs.c
b/driv
Change-Id: I55fbea6bedae383d9ba50b02d30b25e7c09ff9d9
Signed-off-by: Harry Wentland
Acked-by: Harry Wentland
---
drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c
b/drivers/
Change-Id: I4adb6f7c439b9d3bba581d5c4abbfd1a4b1c1fba
Signed-off-by: Harry Wentland
Acked-by: Harry Wentland
---
drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 9 -
drivers/gpu/drm/amd/display/dc/dce/dce_opp.c| 6 --
drivers/gpu/drm/amd/display/dc/dce110
From: Tony Cheng
Change-Id: I509f7524c9e6dd35521b500cf6b52a9be2743f95
Signed-off-by: Tony Cheng
Acked-by: Harry Wentland
---
drivers/gpu/drm/amd/display/dc/dc.h | 1 -
drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c | 3 ---
2 files changed, 4 deletions(-)
diff --git a
From: Yongqiang Sun
In case of programing info frame to
some monitors don't support HDR, it will
result in black screen or corruption when
unplug monitor.
By checking hdr flag to avoid unnecessary
setting for monitors don't support HDR.
Change-Id: Ic01b8b888ab6402d6c53c37a9ab9cccd64787b0d
Signed
From: Tony Cheng
Change-Id: I9b38e1b564392ccb2d329401e16543265f11d125
Signed-off-by: Tony Cheng
Acked-by: Harry Wentland
---
drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c | 4 ++--
drivers/gpu/drm/amd/display/dc/inc/hw/stream_encoder.h | 2 +-
2 files changed, 3 insertions(+), 3 del
From: Yongqiang Sun
Change-Id: Ic8c814fcb8a18aaf34b8da87abbcc8529b6cb02e
Signed-off-by: Yongqiang Sun
Acked-by: Harry Wentland
---
drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c
* warning fixes
* small cleanups
* minor fixes
Harry Wentland (4):
drm/amd/display: Remove unused function in gamma_calcs
drm/amd/display: Fix misleading indentation bug in link_encoder
drm/amd/display: Fix warnings in DC
drm/amd/display: Fix wrong index bug in set_avi_info_frame
Tony Che
Hi Dave,
Fixes for 4.10:
- Polaris 12 support
- Add new amd-gfx mailing list to MAINTAINERS file
- UVD clockgating fix
- SI dpm fixes
The following changes since commit 4a401ceeef7bf3bc55f5e913cbf19d6038cf83c6:
Merge tag 'drm-intel-next-fixes-2016-12-22' of
git://anongit.freedesktop.org/git/d
> -Original Message-
> From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf
> Of Michel Dänzer
> Sent: Friday, January 06, 2017 3:37 AM
> To: amd-gfx@lists.freedesktop.org
> Subject: [PATCH xf86-video-ati] Pass pitch from
> drmmode_crtc_scanout_allocate to drmmode_create_b
> -Original Message-
> From: Huang Rui [mailto:ray.hu...@amd.com]
> Sent: Friday, January 06, 2017 2:46 AM
> To: Deucher, Alexander; amd-gfx@lists.freedesktop.org
> Cc: Zhu, Rex; Mao, David; Fu, Ping; Zhang, Hawking; Kuehling, Felix; Huang,
> Ray; William Lewis
> Subject: [PART1 PATCH v2 2/
On 01/06/2017 05:10 AM, Alex Deucher wrote:
> Required for certain MC configs.
>
> Signed-off-by: Alex Deucher
> ---
> drivers/gpu/drm/radeon/si.c | 11 ++-
> 1 file changed, 10 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/radeon/si.c b/drivers/gpu/drm/radeon/si.c
> i
There's already the adev->pm.mutex which is held while gating/ungating blocks.
There's no need for a second mutex right?
Tom
From: amd-gfx on behalf of Christian
König
Sent: Friday, January 6, 2017 07:52
To: Huang, Ray; Deucher, Alexander; amd-gfx@lists.fre
It was added late last year so that debugfs mmio could read vce/uvd registers
without triggering a race condition between transitions.
Cheers,
Tom
From: Koenig, Christian
Sent: Friday, January 6, 2017 08:45
To: StDenis, Tom; Huang, Ray; Deucher, Alexander; amd
Good point, I wasn't ware that the pm mutex still existed and is taken
under all code flows.
Christian.
Am 06.01.2017 um 14:42 schrieb StDenis, Tom:
There's already the adev->pm.mutex which is held while gating/ungating
blocks. There's no need for a second mutex right?
Tom
---
Am 06.01.2017 um 11:51 schrieb Huang Rui:
Signed-off-by: Huang Rui
---
Changes from V2 -> V3:
- add mutex to protect the is_powergated flag.
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 ++
drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c | 37 +--
drivers/gpu/drm/am
Signed-off-by: Huang Rui
---
Changes from V2 -> V3:
- use mutex to protect the is_powergated flag.
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 +
drivers/gpu/drm/amd/amdgpu/vce_v3_0.c | 44 +++
2 files changed, 41 insertions(+), 4 deletions(-)
diff --git a/dr
Signed-off-by: Huang Rui
---
Changes from V2 -> V3:
- add mutex to protect the is_powergated flag.
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 ++
drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c | 37 +--
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c | 37 ++
On Fri, Jan 06, 2017 at 06:14:27PM +0800, Huang Rui wrote:
> On Fri, Jan 06, 2017 at 10:52:25AM +0100, Christian König wrote:
> > Am 06.01.2017 um 08:45 schrieb Huang Rui:
> > >+static void uvd_v6_0_get_clockgating_state(void *handle, u32 *flags)
> > >+{
> > >+ struct amdgpu_device *adev = (struct
On Fri, Jan 06, 2017 at 10:52:25AM +0100, Christian König wrote:
> Am 06.01.2017 um 08:45 schrieb Huang Rui:
> >+static void uvd_v6_0_get_clockgating_state(void *handle, u32 *flags)
> >+{
> >+struct amdgpu_device *adev = (struct amdgpu_device *)handle;
> >+int data;
> >+
> >+if (adev->u
Am 06.01.2017 um 08:45 schrieb Huang Rui:
Signed-off-by: Huang Rui
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 +
drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c | 26 --
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c | 26 --
3 files changed, 49 insertions(+
From: Michel Dänzer
radeon_bo_get_tiling can fail, e.g. for linear BOs.
Fixes TearFree not working in those cases.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97873
Signed-off-by: Michel Dänzer
---
src/drmmode_display.c | 24 +---
1 file changed, 9 insertions(+)
24 matches
Mail list logo