If we do it at enable time, it's too late for the feature
checks.
bug: https://bugzilla.kernel.org/show_bug.cgi?id=115321
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
Cc: Peter Wu <pe...@lekensteyn.nl>
---
drivers/gpu/drm/radeon/radeon_atpx_handler.c | 3 ++-
1 fil
Now that the implementation is complete.
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c
b/drivers/gpu/drm/amd/
On Mon, Aug 1, 2016 at 1:27 AM, Flora Cui <flora@amd.com> wrote:
> I'll push if no objection
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
> On Fri, Jul 29, 2016 at 11:23:39AM +0800, Flora Cui wrote:
>> ping...
>>
>> On Mon, Jul 25, 2016
On Fri, Jul 29, 2016 at 8:51 AM, Kenneth Johansson wrote:
> I have a 30" Dell MST monitor and It only uses 30HZ refresh rate when I use
> my R9 card. both the open source driver and amdgpu-pro driver.
>
> Is there some way to make it work properly ?
>
It's hard to say what the
On Wed, Aug 3, 2016 at 2:39 PM, Jay Cornwall wrote:
> fence_put was called on an uninitialized variable.
>
> Signed-off-by: Jay Cornwall
Can you commit this internally or do you need one of us to?
Alex
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c | 3
,
> amdgpu_ttm_get_gtt_mem_size(adev));
Shouldn't this be:
adev->mc.gtt_size = min(adev->mc.mc_mask - adev->mc.mc_vram_size,
amdgpu_ttm_get_gtt_mem_size(adev));
Looking closer at the code, amdgpu_gtt_location() will automatically
clamp the gtt size to the available address space t
On Mon, Aug 1, 2016 at 11:41 PM, Huang Rui <ray.hu...@amd.com> wrote:
> Signed-off-by: Huang Rui <ray.hu...@amd.com>
For the series:
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | 8
> 1 file changed,
and crtc if have DCE engine.
>
> Signed-off-by: Emily Deng <emily.d...@amd.com>
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 +
> drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 4
> 2 files changed, 5 insertio
On Wed, Aug 3, 2016 at 11:42 PM, Emily Deng wrote:
> For virtual display feature, add one connector type in amdgpu_connector_add.
>
> Signed-off-by: Emily Deng
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c | 95
> ++
> 1
On Wed, Aug 3, 2016 at 11:42 PM, Emily Deng wrote:
> For virtual display feature, when the GPU has DCE engine, need to disable
> the VGA render and CRTC, or it will hang when initialize GMC.
>
> Signed-off-by: Emily Deng
> ---
>
This asic has no DCE block. Also clarify the error message
for unmatched chips.
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/dce_virtual.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/dce_vir
On Mon, Aug 8, 2016 at 5:43 PM, Alexandre Demers
wrote:
> Hi,
>
> While looking into dce_v8_0.c, I stumbled upon something that might be wrong
> dce_v8_0_afmt_update_ACR(). We can read:
>
> WREG32(mmHDMI_ACR_32_0 + offset, (acr.cts_32khz <<
>
This got leftover somehow when I cleaned this up.
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.h
b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.h
index b
On Mon, Aug 1, 2016 at 2:29 AM, Alexandre Demers
wrote:
> Hi Alex,
>
> I'd like to know if there is any chance to see a merge / pull request for
> the SI code from drm-next-4.8-wip-si into mainline kernel for 4.8? Nothing
> seems to have been added to the branch
gt; (set the clock last).
>
> Finally, this series adds VCE PG tested on both the Carrizo and Stoney
> systems I have.
For the series:
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
___
amd-gfx mailing list
amd-gfx@lists.freedesktop.
On Wed, Aug 17, 2016 at 8:26 AM, Christian König
<deathsim...@vodafone.de> wrote:
> From: Christian König <christian.koe...@amd.com>
>
> This bug seems to be present for a very long time.
>
> Signed-off-by: Christian König <christian.koe...@amd.com>
Patches 1,2
t
upstream. Feel free to apply to the internal trees however.
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
gt; Rename the flag, fix typo in header.
Looks good. The series is:
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
Unless there are any objections I'll push to drm-misc today.
Thanks!
Alex
>
> Andrey Grodzovsky (3):
> drm/atomic: Save flip flags in drm_crtc_state
On Mon, Jan 30, 2017 at 7:57 AM, Christian König
wrote:
> Hi Dave and Bas,
>
> Hi Dave and Bas,
>
> the following set of patches is a proposal for adding support for partial
> resident textures (PRT) to the amdgpu kernel module.
>
> The basic idea behind PRT support is
On Tue, Jan 31, 2017 at 6:19 PM, Andy Furniss wrote:
> Andy Furniss wrote:
>>
>> Rex Zhu wrote:
>>>
>>> in profiling mode, powerplay will fix power state
>>> as stable as possible.and disable gfx cg and LBPW feature.
>>>
>>> profile_standard: as a prerequisite, ensure power
On Tue, Feb 7, 2017 at 4:48 AM, Zhu, Rex <rex@amd.com> wrote:
>
> Not set max fan speed in high performance level because of the fan noise.
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
>
> Best Regards
> Rex
>
On Tue, Feb 7, 2017 at 8:16 AM, Dan Carpenter wrote:
> If "rdev->bios" is NULL then we don't need to free it.
>
> Signed-off-by: Dan Carpenter
applied. thanks!
>
> diff --git a/drivers/gpu/drm/radeon/radeon_bios.c
>
On Fri, Feb 3, 2017 at 3:23 PM, Colin King wrote:
> From: Colin Ian King
>
> bo_va is being kfree'd twice, once in the call to amdgpu_vm_bo_rmv
> and then a short while later. Fix this double free by removing
> the 2nd kfree.
>
> Detected by
On Fri, Feb 3, 2017 at 5:15 AM, Michel Dänzer wrote:
> On 02/02/17 06:36 PM, Christian König wrote:
>> Am 02.02.2017 um 07:09 schrieb Michel Dänzer:
>>> [SNIP]
>>> OTOH the people running the kernel aren't always the same people
>>> building it, so the downside is that this
On Wed, Feb 1, 2017 at 12:03 PM, Andrey Grodzovsky
wrote:
> Allows using atomic flip helpers for drivers
> using ASYNC flip.
> Remove ASYNC_FLIP restriction in helpers and
> caches the page flip flags in drm_crtc_state
> to be used in the low level drivers.
>
> v2:
>
)
Alex Deucher (1):
drm/amdgpu/si: fix crash on headless asics
Michel Dänzer (1):
drm/radeon: Fix vram_size/visible values in DRM_RADEON_GEM_INFO ioctl
drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c | 4 +++-
drivers/gpu/drm/radeon/radeon_drv.c | 3 ++-
drivers/gpu/drm/radeon/radeon_gem.c
; Andrey Grodzovsky (3):
> drm/atomic: Save flip flags in drm_crtct_state
> drm/nouveau/kms/nv50: Switch to using atomic helper for flip.
> drm/amd/display: Switch to using atomic_helper for flip.
A few comments on patch 1. WIth those addressed the series is:
Reviewed-by: Ale
.org] On Behalf
>>> Of Dieter Nützel
>>> Sent: Tuesday, January 31, 2017 6:25 AM
>>> To: Michel Dänzer
>>> Cc: Alex Deucher; mesa-...@lists.freedesktop.org; amd-
>>> g...@lists.freedesktop.org
>>> Subject: Re: [Mesa-dev] [PATCH] drm/
On Sun, Jan 22, 2017 at 8:47 AM, Nicolas Iooss
wrote:
> In smu7_clockpowergating.h, the #ifndef statement which prevents
> multiple inclusions of the header file uses _SMU7_CLOCK_POWER_GATING_H_
> but the following #define statement uses _SMU7_CLOCK__POWER_GATING_H_.
On Mon, Jan 23, 2017 at 5:29 AM, Christian König
wrote:
> Am 23.01.2017 um 03:46 schrieb Michel Dänzer:
>>
>> On 23/01/17 04:15 AM, Nils Holland wrote:
>>>
>>> From d44ac1157fdb86e67822b6538ae6113c8d620412 Mon Sep 17 00:00:00 2001
>>> From: Nils Holland
n tearing.
>
> Bugzilla: https://bugs.freedesktop.org/99491
> Signed-off-by: Michel Dänzer <michel.daen...@amd.com>
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
> ---
> src/radeon_kms.c | 10 ++
> 1 file changed, 6 insertions(+), 4 deletions(-)
>
> diff --git
On Wed, Jan 25, 2017 at 7:07 AM, Colin King wrote:
> From: Colin Ian King
>
> _SMU7_CLOCK_POWER_GATING_H_ is being used as a header guard, followed by
> a #define of a different macro. Define _SMU7_CLOCK_POWER_GATING_H_ instead
> to fix this.
Missing check for crtcs present.
Fixes:
https://bugzilla.kernel.org/show_bug.cgi?id=193341
https://bugs.freedesktop.org/show_bug.cgi?id=99387
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
Cc: sta...@vger.kernel.org
---
drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c | 4 +++-
1 file chan
://people.freedesktop.org/~agd5f/linux drm-next-4.11
for you to fetch changes up to 268c3001842cb179b54a2825dad9b70151bf4de6:
drm/amdgpu: fix amdgpu_bo_va_mapping flags (2017-01-27 12:20:45 -0500)
Alex Deucher (7):
drm/amdgpu
All of these are available elsewhere.
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/include/asic_reg/si/si_reg.h | 105 ---
1 file changed, 105 deletions(-)
delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/si/si_reg.h
diff
No longer necessary with the new 58 mc ucode.
bug:
https://bugs.freedesktop.org/show_bug.cgi?id=76490
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/radeon/si_dpm.c | 47 +
1 file changed, 1 insertion(+), 46 deletions(-)
No longer necessary with the new 58 mc ucode.
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/si_dpm.c | 47 +
1 file changed, 1 insertion(+), 46 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/si_dpm.c
b/d
The vfct table can contain multiple vbios images if the
platform contains multiple GPUs. Noticed by netkas on
phoronix forums. This patch fixes those platforms.
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
Cc: sta...@vger.kernel.org
---
drivers/gpu/drm/amd/amdgpu/amdgpu_bios.
gt; + if (sad->format == eld_reg_to_type[i][1]) {
>> + if (sad->channels > max_channels) {
>> + tmp = REG_SET_FIELD(tmp,
>> AZALIA_F0_CODEC_PIN_CONTROL_AUDIO_DESCRIPTOR0,
>> +
0 since it was programmed properly from the
beginning as far as I understand it.
Alex
>
> Regards,
> Jerry (Junwei Zhang)
>
> Linux Base Graphics
> SRDC Software Development
> _
>
>
>> -Original Message-
>> From: am
This enables the LEDs that light up based on DPM states
on some Fiji boards.
bug:
https://bugs.freedesktop.org/show_bug.cgi?id=97590
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/powerplay/inc/smu7_ppsmc.h | 1 +
drivers/gpu/drm/amd/powerplay/
These are no longer needed now that we use the fb_location
programmed by the vbios.
v2: update DC as well
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 3 -
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c| 6 -
drive
This makes mc programming much simpler in future patches.
Since evergreen, the vbios has been programming the fb location
to the proper vram size. The only reason to reprogram it would
be to change the location.
Reviewed-by: Christian König <christian.koe...@amd.com>
Signed-off-by: Alex D
Now that the mc_access functions are gone, we no longer
need separate structs for all the different dce families
in dm.
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 60 ++-
1 file changed, 4 insertions(
This makes mc programming much simpler in future patches.
Since evergreen, the vbios has been programming the fb location
to the proper vram size. The only reason to reprogram it would
be to change the location.
Reviewed-by: Christian König <christian.koe...@amd.com>
Signed-off-by: Alex D
No need to do this as the vbios does this for us. As such
we no longer need to stop the mc during init.
Reviewed-by: Christian König <christian.koe...@amd.com>
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c | 15 ---
1
No need to do this as the vbios does this for us. As such
we no longer need to stop the mc during init.
Reviewed-by: Christian König <christian.koe...@amd.com>
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | 13 -
1
There still seem to be some blocks that make accesses
in the lower part of the address space. This works around
this.
Reviewed-by: Christian König <christian.koe...@amd.com>
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c |
Program the VCE BAR and offsets properly. The current code
was carried over from a limitation from older VCE versions.
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/vce_v2_0.c | 17 +
1 file changed, 9 insertions(+), 8 deletions(-)
Since evergreen, the vbios has programmed the FB_LOCATION to the proper size
during asic_init, so there is no need to reprogram them in the driver.
We can safely leave the location as set by the vbios. This simplifies the
driver significantly.
Alex Deucher (11):
drm/amdgpu/vce2: fix vce bar
This makes mc programming much simpler in future patches.
Since evergreen, the vbios has been programming the fb location
to the proper vram size. The only reason to reprogram it would
be to change the location.
Reviewed-by: Christian König <christian.koe...@amd.com>
Signed-off-by: Alex D
Not used.
v2: include DC as well
Reviewed-by: Christian König <christian.koe...@amd.com>
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 -
drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | 2 --
drivers/gpu/dr
No need to do this as the vbios does this for us. As such
we no longer need to stop the mc during init.
Reviewed-by: Christian König <christian.koe...@amd.com>
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c | 13 -
1
On Fri, Feb 17, 2017 at 3:38 PM, Alex Deucher <alexdeuc...@gmail.com> wrote:
> Since evergreen, the vbios has programmed the FB_LOCATION to the proper size
> during asic_init, so there is no need to reprogram them in the driver.
> We can safely leave the location as s
On Wed, Feb 22, 2017 at 4:34 PM, Lyude wrote:
> Aux transfers always fail with non-zero status flags when there's
> nothing connected on the port, so we don't usually need to see all of
> the debugging information from it. Also, we try reprobing a -lot-, so
> without
On Sat, Feb 18, 2017 at 12:03 AM, Edward O'Callaghan
wrote:
>
>
> On 02/18/2017 01:22 AM, Christian König wrote:
>> Am 17.02.2017 um 08:11 schrieb Joe Perches:
>>> To enable eventual removal of pr_warning
>>>
>>> This makes pr_warn use consistent for drivers/gpu
>>>
Hi Dave,
Just a few fixes for 4.11.
The following changes since commit 9ca70356a9260403c1bda40d942935e55d00c11c:
Revert "drm: Resurrect atomic rmfb code, v3" (2017-02-17 12:39:04 +1000)
are available in the git repository at:
git://people.freedesktop.org/~agd5f/linux drm-next-4.11
for
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
index 72c33b9..0dd0e2d 100644
--- a/d
ed by default for outputs using rotation or other
> RandR transforms, and for RandR 1.4 slave outputs.
>
> Signed-off-by: Michel Dänzer <michel.daen...@amd.com>
Series is:
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
> ---
>
> v2: Fix build against xserve
...@amd.com>
Series is:
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
> ---
> src/radeon_present.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/src/radeon_present.c b/src/radeon_present.c
> index b36e29b19..1b0ddcb82 100644
> --- a/src/radeon_prese
On Wed, Feb 22, 2017 at 10:04 PM, Junwei Zhang <jerry.zh...@amd.com> wrote:
> Signed-off-by: Junwei Zhang <jerry.zh...@amd.com>
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | 2 +-
> 1 file changed, 1 insert
to fad061270ac43ff9eed315f0eae7c40b694592de:
drm/amdgpu: report the number of bytes moved at buffer creation (2017-02-09
11:29:44 -0500)
Alex Deucher (1):
drm/amdgpu: add support for new smc firmware on polaris
Arnd Bergmann (1):
drm/amdgpu: shut up
On Thu, Feb 9, 2017 at 5:28 PM, Samuel Pitoiset
wrote:
> This removes code duplication.
>
> Signed-off-by: Samuel Pitoiset
Applied. thanks!
Alex
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 8 +---
> 1 file changed, 1
Don't update display bandwidth on headless asics.
bug:
https://bugs.freedesktop.org/show_bug.cgi?id=99387
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
Cc: sta...@vger.kernel.org
---
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
On Mon, Feb 13, 2017 at 9:56 PM, zhoucm1 wrote:
>
>
> On 2017年02月14日 03:03, Nicolai Hähnle wrote:
>>
>> On 13.02.2017 19:58, Nicolai Hähnle wrote:
>>>
>>> On 13.02.2017 19:38, Samuel Pitoiset wrote:
On 02/13/2017 07:09 PM, Nicolai Hähnle wrote:
>
>
g <sonny.ji...@amd.com>
> Signed-off-by: Michel Dänzer <michel.daen...@amd.com>
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
> ---
> drivers/gpu/drm/radeon/radeon_cursor.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/
> Signed-off-by: Oak Zeng <oak.z...@amd.com>
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 8
> drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 8
> 2 files changed, 16 insertions(+)
>
> diff --gi
u <leo@amd.com>
Signed-off-by: Alan Harrison <alan.harri...@amd.com>
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/vce_v3_0.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c
b/drivers/gpu/drm/amd
Hi Dave,
Just one regression fix interlaced modes on radeon.
The following changes since commit 697d3a21615672b2bf7724a65755799260325dda:
Merge tag 'drm-intel-fixes-2017-02-09' of
git://anongit.freedesktop.org/git/drm-intel into drm-fixes (2017-02-10 10:14:24
+1000)
are available in the
12:19:52 -0500)
Alan Harrison (1):
drm/amdgpu: Add to initialization of mmVCE_VCPU_CNTL register
Alex Deucher (2):
drm/amdgpu: add more cases to DCE11 possible crtc mask setup
drm/amdgpu/pm: check for headless bef
On Fri, Feb 3, 2017 at 11:47 AM, Arnd Bergmann wrote:
> gcc-4.8 warns about '{0}' being used an an initializer for nested structures:
>
> drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c: In function
> ‘gfx_v8_0_ring_emit_ce_meta_init’:
> drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c:7263:2:
On Mon, Jan 23, 2017 at 9:36 AM, Harry Wentland wrote:
> From: Andrey Grodzovsky
>
> Change-Id: Ia59c22ea5a78d5eecca6c62c7f50e651f29ef5f7
> Signed-off-by: Andrey Grodzovsky
> Acked-by: Harry Wentland
On Thu, Feb 16, 2017 at 5:55 PM, Nicolai Hähnle wrote:
> From: Nicolai Hähnle
>
> When the fast blit path fails while attempting to move a buffer from RAM
> to VRAM, we fall back to a CPU-based memcpy that cannot handle split VRAM
> buffers. Instead
ng...@amd.com>
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/dce_virtual.c | 5 +
> 1 file changed, 1 insertion(+), 4 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/dce_virtual.c
> b/drivers/gpu/drm/amd/a
New hainan parts require updated smc firmware.
Cc: Sonny Jiang <sonny.ji...@amd.com>
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/radeon/si.c | 13 +
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/radeon/si.c b
>revision;
> + config[no_regs++] = adev->pdev->subsystem_device;
> + config[no_regs++] = adev->pdev->subsystem_vendor;
For completeness, please add pdev->revision as well. With that:
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
> +
> whil
at:
git://people.freedesktop.org/~agd5f/linux drm-fixes-4.10
for you to fetch changes up to 17324b6add82d6c0bf119f1d1944baef392a4e39:
drm/amdgpu: add support for new hainan variants (2017-01-17 15:25:41 -0500)
Alex Deucher (8
On Thu, Aug 18, 2016 at 5:59 AM, Christian König
wrote:
> From: Christian König
>
> Add a flag noting that a BO must be created using linear VRAM
> and set this flag on all in kernel users where appropriate.
>
> Hopefully I haven't missed
On Tue, Aug 16, 2016 at 7:53 AM, StDenis, Tom wrote:
> In these functions
>
>
> static bool dce_v11_0_is_idle(void *handle)
> {
> return true;
> }
>
> static int dce_v11_0_wait_for_idle(void *handle)
> {
> return 0;
> }
>
> Shouldn't they wait on the GUI bit of the
On Mon, Aug 15, 2016 at 3:06 PM, Felix Kuehling <felix.kuehl...@amd.com> wrote:
> Patch against current amd-staging-4.6 is attached.
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
>
> Regards,
> Felix
>
>
> On 16-08-13 05:25 AM, Christian König wrote:
I've squashed this patch into my si tree and also fixed the cursor.
Updated tree:
https://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-next-4.9-si
Alex
On Fri, Aug 19, 2016 at 5:01 AM, Marek Olšák wrote:
> From: Marek Olšák
>
> The tiling flags use the
Some blocks require a reset to properly resume if there
is no power down of the asic like during various
hibernation steps.
Port of:
274ad65c9d02bdcbee9bae045517864c3521d530
(drm/radeon: hard reset r600 and newer GPU when hibernating.)
from radeon.
Signed-off-by: Alex Deucher <alexander.d
Hi Dave,
Just one small fix for amdgpu this week for systems with a gart
aperture > 4 GB.
The following changes since commit 93b1f14553a5f48104b639d28e41c2bb73c0dc37:
Merge tag 'mediatek-drm-fixes-2016-08-12' of
git://git.pengutronix.de/git/pza/linux into drm-fixes (2016-08-15 16:07:14
On Thu, Aug 4, 2016 at 12:24 PM, Daniel Vetter <dan...@ffwll.ch> wrote:
> On Thu, Aug 04, 2016 at 10:59:38AM -0400, Alex Deucher wrote:
>> Adding dri-devel.
>>
>> This patch set basically adds a driver option to enable virtual
>> display hw if the user needs it (
On Sun, Aug 21, 2016 at 8:59 AM, Jarkko Korpi wrote:
> I quess these are rather harmless.
>
>
> [1.533109] amdgpu :01:00.0: Invalid PCI ROM header signature:
> expecting 0xaa55, got 0x
This is an error from the pci rom code, not the driver.
> 1.532641]
gt;
> Signed-off-by: Michel Dänzer <michel.daen...@amd.com>
Series is:
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
> ---
> src/radeon_present.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/src/radeon_present.c b/src/radeon_present.c
> in
by: Michel Dänzer <michel.daen...@amd.com>
Series is:
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
> ---
> src/drmmode_display.c | 13 +
> 1 file changed, 5 insertions(+), 8 deletions(-)
>
> diff --git a/src/drmmode_display.c b/src/drmmode_
60dd072dd43b1c
> Signed-off-by: Oak Zeng <oak.z...@amd.com>
Acked-by: Alex Deucher <alexander.deuc...@amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c | 4 +++-
> drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c | 4 +++-
> 2 files changed, 6 insertions(+
gt; (Ported from radeon commit f2bc882f1c1082bed9f496cfab6c8f07a76bc122)
>
> Signed-off-by: Michel Dänzer <michel.daen...@amd.com>
Series is:
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
> ---
> src/drmmode_display.c | 12 +---
> 1 file changed, 5 insertions(+), 7
ed by default for outputs using rotation or other
> RandR transforms, and for RandR 1.4 slave outputs.
>
> (Ported from radeon commit 58cd1600057e41aade0106d4acf78e23eac6e44f)
>
> Signed-off-by: Michel Dänzer <michel.daen...@amd.com>
Series is:
Reviewed-by: Alex Deucher <
On Thu, Mar 2, 2017 at 2:23 AM, Michel Dänzer <mic...@daenzer.net> wrote:
> From: Michel Dänzer <michel.daen...@amd.com>
>
> RADEONWindowExposures_oneshot takes care of it.
>
> Signed-off-by: Michel Dänzer <michel.daen...@amd.com>
Reviewed-by: Alex D
According to the hw team, it should be 16, not 8.
Cc: Peter Fang <peter.f...@amd.com>
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
Cc: sta...@vger.kernel.org
---
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dri
Not of much use at the moment (we don't really use
the second ring either), but may be useful later.
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | 4 ++--
drivers/gpu/drm/amd/amdgpu/vc
Rather than using a hardcoded value. This allows
different versions to expose more or less rings.
No functional change.
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 2 +-
drivers/g
)
Alex Deucher (14):
drm/amdgpu/powerplay: enable powerplay by default on TOPAZ
drm/amdgpu/gmc7: add missing mullins case
drm/amdgpu/ci: add mullins to default case for smc ucode
drm/amdgpu/gfx8: remove stale function declaration
drm/amdgpu: move all
Missed this case previously. No need to do anything if the
device is already off. runtime pm will handle it.
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/d
Ported from nouveau.
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/radeon/radeon_fb.c | 25 +
1 file changed, 25 insertions(+)
diff --git a/drivers/gpu/drm/radeon/radeon_fb.c
b/drivers/gpu/drm/radeon/radeon_fb.c
index 0e3143a..1
Need to fix the error paths.
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/radeon/radeon_kms.c | 13 +++--
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/radeon/radeon_kms.c
b/drivers/gpu/drm/radeon/radeon_kms.c
index 0
Missed this case previously. No need to do anything if the
device is already off. runtime pm will handle it.
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/radeon/radeon_device.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drive
Need to fix the error pathes.
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 17 +
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
b/drivers/gpu/drm/amd/
1 - 100 of 12577 matches
Mail list logo