Commit 5f9cfd82 authored by Sam Ravnborg's avatar Sam Ravnborg

drm/via: Fix style issues in via_3d_reg header

- Fix comments using wrong style
- Drop repeated word

This fixes all checkpatch complains and makes the file a little
bit easier to read - as the eye is not distracted by the style
violations.
Suggested-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
Acked-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Cc: Kevin Brace <kevinbrace@bracecomputerlab.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220713170202.1798216-14-sam@ravnborg.org
parent 3579ca95
...@@ -156,7 +156,7 @@ ...@@ -156,7 +156,7 @@
#define HC_HSPXOS_SHIFT 12 #define HC_HSPXOS_SHIFT 12
#define HC_HSPYOS_MASK 0x00000fff #define HC_HSPYOS_MASK 0x00000fff
/* Command /*
* Command A * Command A
*/ */
#define HC_HCmdHeader_MASK 0xfe000000 /*0xffe00000 */ #define HC_HCmdHeader_MASK 0xfe000000 /*0xffe00000 */
...@@ -1342,8 +1342,8 @@ ...@@ -1342,8 +1342,8 @@
#define HC_HFthRTXA_MASK 0x000000ff #define HC_HFthRTXA_MASK 0x000000ff
/**************************************************************************** /****************************************************************************
** Define the Halcyon Internal register access constants. For simulator only. * Define the Halcyon Internal register access constants. For simulator only.
****************************************************************************/ ***************************************************************************/
#define HC_SIMA_HAGPBstL 0x0000 #define HC_SIMA_HAGPBstL 0x0000
#define HC_SIMA_HAGPBendL 0x0001 #define HC_SIMA_HAGPBendL 0x0001
#define HC_SIMA_HAGPCMNT 0x0002 #define HC_SIMA_HAGPCMNT 0x0002
...@@ -1592,8 +1592,8 @@ ...@@ -1592,8 +1592,8 @@
#define HC_SIMA_FIFOstatus 0x0446 #define HC_SIMA_FIFOstatus 0x0446
/**************************************************************************** /****************************************************************************
** Define the AGP command header. * Define the AGP command header.
****************************************************************************/ ***************************************************************************/
#define HC_ACMD_MASK 0xfe000000 #define HC_ACMD_MASK 0xfe000000
#define HC_ACMD_SUB_MASK 0x0c000000 #define HC_ACMD_SUB_MASK 0x0c000000
#define HC_ACMD_HCmdA 0xee000000 #define HC_ACMD_HCmdA 0xee000000
...@@ -1617,17 +1617,17 @@ ...@@ -1617,17 +1617,17 @@
#define HC_ACMD_H4COUNT_SHIFT 9 #define HC_ACMD_H4COUNT_SHIFT 9
/***************************************************************************** /*****************************************************************************
** Define Header * Define Header
*****************************************************************************/ ****************************************************************************/
#define HC_HEADER2 0xF210F110 #define HC_HEADER2 0xF210F110
/***************************************************************************** /*****************************************************************************
** Define Dummy Value * Define Dummy Value
*****************************************************************************/ ****************************************************************************/
#define HC_DUMMY 0xCCCCCCCC #define HC_DUMMY 0xCCCCCCCC
/***************************************************************************** /*****************************************************************************
** Define for DMA use * Define for DMA use
*****************************************************************************/ ****************************************************************************/
#define HALCYON_HEADER2 0XF210F110 #define HALCYON_HEADER2 0XF210F110
#define HALCYON_FIRECMD 0XEE100000 #define HALCYON_FIRECMD 0XEE100000
#define HALCYON_FIREMASK 0XFFF00000 #define HALCYON_FIREMASK 0XFFF00000
...@@ -1661,8 +1661,8 @@ ...@@ -1661,8 +1661,8 @@
#define VIA_VIDEOMASK 0xFFFF0000 #define VIA_VIDEOMASK 0xFFFF0000
/***************************************************************************** /*****************************************************************************
** Define for H5 DMA use * Define for H5 DMA use
*****************************************************************************/ ****************************************************************************/
#define H5_HC_DUMMY 0xCC000000 #define H5_HC_DUMMY 0xCC000000
/* Command Header Type */ /* Command Header Type */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment