drm/radeon/kms: initialize set_surface_reg reg for rs600 asic
authorJerome Glisse <jglisse@redhat.com>
Fri, 26 Feb 2010 19:14:12 +0000 (19:14 +0000)
committerDave Airlie <airlied@redhat.com>
Mon, 1 Mar 2010 05:50:37 +0000 (15:50 +1000)
rs600 asic was missing set_surface_reg callback leading to
oops.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_asic.h

index 4572a6699884d379e76637fe0fe2519928503864..d3a157b2bcb73ab51e1d68d0430c65a9916a70b0 100644 (file)
@@ -407,6 +407,8 @@ static struct radeon_asic rs600_asic = {
        .get_pcie_lanes = NULL,
        .set_pcie_lanes = NULL,
        .set_clock_gating = &radeon_atom_set_clock_gating,
+       .set_surface_reg = r100_set_surface_reg,
+       .clear_surface_reg = r100_clear_surface_reg,
        .bandwidth_update = &rs600_bandwidth_update,
        .hpd_init = &rs600_hpd_init,
        .hpd_fini = &rs600_hpd_fini,