diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2013-01-24 10:06:33 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-06-26 16:11:38 -0400 |
commit | 9e05fa1d24667fc2008e7f631aefd09acad80d77 (patch) | |
tree | a3e6f03a93037b85fcaa487b4ab7e93259847183 /drivers/gpu/drm/radeon/radeon.h | |
parent | cd84a27d188b0b5f53f5782d02695e7d25517afc (diff) | |
download | lwn-9e05fa1d24667fc2008e7f631aefd09acad80d77.tar.gz lwn-9e05fa1d24667fc2008e7f631aefd09acad80d77.zip |
drm/radeon/cik: add hw cursor support (v2)
CIK (DCE8) hw cursors are programmed the same as evergreen
(DCE4) with the following caveats:
- cursors are now 128x128 pixels
- new alpha blend enable bit
v2: rebase
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 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index 04e8dbddf35b..b329e993c5b5 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h @@ -150,6 +150,13 @@ extern int radeon_fastfb; #define RADEON_RESET_MC (1 << 10) #define RADEON_RESET_DISPLAY (1 << 11) +/* max cursor sizes (in pixels) */ +#define CURSOR_WIDTH 64 +#define CURSOR_HEIGHT 64 + +#define CIK_CURSOR_WIDTH 128 +#define CIK_CURSOR_HEIGHT 128 + /* * Errata workarounds. */ |