lkml.org 
[lkml]   [2016]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.4 08/51] drm/radeon: narrow asic_init for virtualization
    Date
    4.4-stable review patch.  If anyone has any objections, please let me know.

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

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

    commit 884031f0aacf57dad1575f96714efc80de9b19cc upstream.

    Only needed on CIK+ due to the way pci reset is handled
    by the GPU.

    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    ---
    drivers/gpu/drm/radeon/radeon_device.c | 5 +++--
    1 file changed, 3 insertions(+), 2 deletions(-)

    --- a/drivers/gpu/drm/radeon/radeon_device.c
    +++ b/drivers/gpu/drm/radeon/radeon_device.c
    @@ -660,8 +660,9 @@ bool radeon_card_posted(struct radeon_de
    {
    uint32_t reg;

    - /* for pass through, always force asic_init */
    - if (radeon_device_is_virtual())
    + /* for pass through, always force asic_init for CI */
    + if (rdev->family >= CHIP_BONAIRE &&
    + radeon_device_is_virtual())
    return false;

    /* required for EFI mode on macbook2,1 which uses an r5xx asic */

    \
     
     \ /
      Last update: 2016-10-29 16:25    [W:21.891 / U:0.000 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site