On Mon, Oct 12, 2009 at 12:22 AM, Dave Airlie <airl...@gmail.com> wrote:
> From: Dave Airlie <airl...@redhat.com>
>
> Alex I suspect the DDX needs a similiar patch.
>
> With the adjust table introduction, we need to fill out index
> before getting the table version.
>

Good catch!  Actually the DDX is ok, but I've cleaned it up a bit.

> Signed-off-by: Dave Airlie <airl...@redhat.com>
Signed-off-by: Alex Deucher <alexdeuc...@gmail.com>

> ---
>  drivers/gpu/drm/radeon/atombios_crtc.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c 
> b/drivers/gpu/drm/radeon/atombios_crtc.c
> index 7522af1..3409aa3 100644
> --- a/drivers/gpu/drm/radeon/atombios_crtc.c
> +++ b/drivers/gpu/drm/radeon/atombios_crtc.c
> @@ -454,6 +454,7 @@ void atombios_crtc_set_pll(struct drm_crtc *crtc, struct 
> drm_display_mode *mode)
>        radeon_compute_pll(pll, adjusted_clock, &pll_clock, &fb_div, 
> &frac_fb_div,
>                           &ref_div, &post_div, pll_flags);
>
> +       index = GetIndexIntoMasterTable(COMMAND, SetPixelClock);
>        atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev,
>                              &crev);
>
> @@ -513,7 +514,6 @@ void atombios_crtc_set_pll(struct drm_crtc *crtc, struct 
> drm_display_mode *mode)
>        }
>
>        printk("executing set pll\n");
> -       index = GetIndexIntoMasterTable(COMMAND, SetPixelClock);
>        atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t 
> *)&args);
>  }
>
> --
> 1.6.5.rc2
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> --
> _______________________________________________
> Dri-devel mailing list
> Dri-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dri-devel
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to