lkml.org 
[lkml]   [2016]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.6 106/203] drm/amdgpu/gfx7: fix broken condition check
    Date
    4.6-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Alex Deucher <alexander.deucher@amd.com>

    commit 8b18300c13a1e08e152f6b6a430faac84f986231 upstream.

    Wrong operator.

    Reported-by: David Binderman <linuxdev.baldrick@gmail.com>
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    ---
    drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
    +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
    @@ -5074,7 +5074,7 @@ static int gfx_v7_0_eop_irq(struct amdgp
    case 2:
    for (i = 0; i < adev->gfx.num_compute_rings; i++) {
    ring = &adev->gfx.compute_ring[i];
    - if ((ring->me == me_id) & (ring->pipe == pipe_id))
    + if ((ring->me == me_id) && (ring->pipe == pipe_id))
    amdgpu_fence_process(ring);
    }
    break;

    \
     
     \ /
      Last update: 2016-07-26 00:01    [W:4.284 / U:0.048 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site