lkml.org 
[lkml]   [2015]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3.12 49/84] Add radeon suspend/resume quirk for HP Compaq dc5750.
    Date
    From: Jeffery Miller <jmiller@neverware.com>

    3.12-stable review patch. If anyone has any objections, please let me know.

    ===============

    commit 09bfda10e6efd7b65bcc29237bee1765ed779657 upstream.

    With the radeon driver loaded the HP Compaq dc5750
    Small Form Factor machine fails to resume from suspend.
    Adding a quirk similar to other devices avoids
    the problem and the system resumes properly.

    Signed-off-by: Jeffery Miller <jmiller@neverware.com>
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
    Signed-off-by: Jiri Slaby <jslaby@suse.cz>
    ---
    drivers/gpu/drm/radeon/radeon_combios.c | 8 ++++++++
    1 file changed, 8 insertions(+)

    diff --git a/drivers/gpu/drm/radeon/radeon_combios.c b/drivers/gpu/drm/radeon/radeon_combios.c
    index 8cac69819054..9c64a973190e 100644
    --- a/drivers/gpu/drm/radeon/radeon_combios.c
    +++ b/drivers/gpu/drm/radeon/radeon_combios.c
    @@ -3403,6 +3403,14 @@ void radeon_combios_asic_init(struct drm_device *dev)
    rdev->pdev->subsystem_device == 0x30ae)
    return;

    + /* quirk for rs4xx HP Compaq dc5750 Small Form Factor to make it resume
    + * - it hangs on resume inside the dynclk 1 table.
    + */
    + if (rdev->family == CHIP_RS480 &&
    + rdev->pdev->subsystem_vendor == 0x103c &&
    + rdev->pdev->subsystem_device == 0x280a)
    + return;
    +
    /* DYN CLK 1 */
    table = combios_get_table_offset(dev, COMBIOS_DYN_CLK_1_TABLE);
    if (table)
    --
    2.6.0


    \
     
     \ /
      Last update: 2015-10-02 15:41    [W:6.125 / U:0.060 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site