[PATCH v6 02/10] drm: Drop VGA from bpc definitions

Jim Bride jim.bride at linux.intel.com
Mon Jul 25 15:03:59 UTC 2016


On Wed, Jul 06, 2016 at 02:04:46PM +0300, Mika Kahola wrote:
> Drop "VGA" from bits per component definitions as these
> are also used by other standards such as DVI, HDMI,
> DP++.

Reviewed-by: Jim Bride <jim.bride at linux.intel.com>

> 
> Signed-off-by: Mika Kahola <mika.kahola at intel.com>
> ---
>  include/drm/drm_dp_helper.h | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h
> index 6e8b92e..336d742 100644
> --- a/include/drm/drm_dp_helper.h
> +++ b/include/drm/drm_dp_helper.h
> @@ -216,11 +216,11 @@
>  # define DP_DS_PORT_HPD			    (1 << 3)
>  /* offset 1 for VGA is maximum megapixels per second / 8 */
>  /* offset 2 */
> -# define DP_DS_VGA_MAX_BPC_MASK		    (3 << 0)
> -# define DP_DS_VGA_8BPC			    0
> -# define DP_DS_VGA_10BPC		    1
> -# define DP_DS_VGA_12BPC		    2
> -# define DP_DS_VGA_16BPC		    3
> +# define DP_DS_MAX_BPC_MASK	            (3 << 0)
> +# define DP_DS_8BPC		            0
> +# define DP_DS_10BPC		            1
> +# define DP_DS_12BPC		            2
> +# define DP_DS_16BPC		            3
>  
>  /* link configuration */
>  #define	DP_LINK_BW_SET		            0x100
> -- 
> 1.9.1


More information about the dri-devel mailing list