diff options
author | Ilija Hadzic <ihadzic@research.bell-labs.com> | 2013-01-02 18:27:41 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-01-31 16:24:42 -0500 |
commit | c38f34b53e74dec4e58fef0c895d9e6df7da1190 (patch) | |
tree | 0e1cd86a565d02cf7d4bb73a09869a4296ea2241 /drivers/gpu/drm/radeon/radeon.h | |
parent | 4db013110cd3da05e4cf7e1119468817709cb9db (diff) |
drm/radeon: use common cs packet parse function
We now have a common radeon_cs_packet_parse function
that is good for all ASICs. Hook it up and eliminate
ASIC-specific versions.
Signed-off-by: Ilija Hadzic <ihadzic@research.bell-labs.com>
Reviewed-by: Marek Olšák <maraeo@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index a08f657329a0..b8d1c5c0c2c6 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h | |||
@@ -1972,6 +1972,10 @@ static inline int radeon_acpi_init(struct radeon_device *rdev) { return 0; } | |||
1972 | static inline void radeon_acpi_fini(struct radeon_device *rdev) { } | 1972 | static inline void radeon_acpi_fini(struct radeon_device *rdev) { } |
1973 | #endif | 1973 | #endif |
1974 | 1974 | ||
1975 | int radeon_cs_packet_parse(struct radeon_cs_parser *p, | ||
1976 | struct radeon_cs_packet *pkt, | ||
1977 | unsigned idx); | ||
1978 | |||
1975 | #include "radeon_object.h" | 1979 | #include "radeon_object.h" |
1976 | 1980 | ||
1977 | #endif | 1981 | #endif |