[PATCH] drm/radeon: use RADEON_MAX_CRTCS, RADEON_MAX_AFMT_BLOCKS
Alex Deucher
alexdeucher at gmail.com
Tue Jul 1 08:45:23 PDT 2014
On Sun, Jun 29, 2014 at 3:02 PM, Stefan Brüns
<stefan.bruens at rwth-aachen.de> wrote:
>
> Signed-off-by: Stefan Brüns <stefan.bruens at rwth-aachen.de>
Both patches applied. I've fixed this one to compile. Please make
sure your patches compile. thanks.
Alex
> ---
> drivers/gpu/drm/radeon/radeon_mode.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/radeon_mode.h b/drivers/gpu/drm/radeon/radeon_mode.h
> index ad0e4b8..79b8c7e 100644
> --- a/drivers/gpu/drm/radeon/radeon_mode.h
> +++ b/drivers/gpu/drm/radeon/radeon_mode.h
> @@ -233,8 +233,8 @@ struct radeon_mode_info {
> struct card_info *atom_card_info;
> enum radeon_connector_table connector_table;
> bool mode_config_initialized;
> - struct radeon_crtc *crtcs[6];
> - struct radeon_afmt *afmt[7];
> + struct radeon_crtc *crtcs[RADEON_MAX_CRTCS];
> + struct radeon_afmt *afmt[RADEON_MAX_AFMT_BLOCKS];
> /* DVI-I properties */
> struct drm_property *coherent_mode_property;
> /* DAC enable load detect */
> --
> 1.8.4.5
>
> --
> Stefan Brüns / Bergstraße 21 / 52062 Aachen
> phone: +49 241 53809034 mobile: +49 151 50412019
> _______________________________________________
> 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