[PATCH] drm/radeon: add WAIT_UNTIL to evergreen VM safe reg list

Jerome Glisse j.glisse at gmail.com
Fri Dec 21 07:45:20 PST 2012


On Thu, Dec 20, 2012 at 9:34 PM,  <alexdeucher at gmail.com> wrote:
> From: Alex Deucher <alexander.deucher at amd.com>
>
> It's used in a recent mesa commit:
> http://cgit.freedesktop.org/mesa/mesa/commit/?id=24b1206ab2dcd506aaac3ef656aebc8bc20cd27a
> and there may be some other cases in the future where it's required.
>
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
> Cc: stable at vger.kernel.org

Reviewed-by: Jerome Glisse <jglisse at redhat.com>

> ---
>  drivers/gpu/drm/radeon/evergreen_cs.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/evergreen_cs.c b/drivers/gpu/drm/radeon/evergreen_cs.c
> index 5cea852..7a44566 100644
> --- a/drivers/gpu/drm/radeon/evergreen_cs.c
> +++ b/drivers/gpu/drm/radeon/evergreen_cs.c
> @@ -3316,6 +3316,7 @@ static bool evergreen_vm_reg_valid(u32 reg)
>
>         /* check config regs */
>         switch (reg) {
> +       case WAIT_UNTIL:
>         case GRBM_GFX_INDEX:
>         case CP_STRMOUT_CNTL:
>         case CP_COHER_CNTL:
> --
> 1.7.7.5
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel


More information about the dri-devel mailing list