summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/atom.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-12-08 05:29:15 +0100
committerDave Airlie <airlied@redhat.com>2009-12-08 05:29:15 +0100
commit7b0a9e8302522d5f7bb7fab6b8a3c8ce8181609c (patch)
treec958236a2397b3e5be77d99a494673764341e737 /drivers/gpu/drm/radeon/atom.h
parentMerge remote branch 'korg/drm-radeon-next' into drm-linus (diff)
parentdrm/radeon/kms: enable hpd support (diff)
downloadlinux-7b0a9e8302522d5f7bb7fab6b8a3c8ce8181609c.tar.xz
linux-7b0a9e8302522d5f7bb7fab6b8a3c8ce8181609c.zip
Merge remote branch 'korg/drm-radeon-dp' into drm-linus
This merges the radeon KMS DisplayPort and hotplug detect support. Tested on RV635 DP card with a Dell 2408 monitor. Conflicts: drivers/gpu/drm/drm_fb_helper.c
Diffstat (limited to 'drivers/gpu/drm/radeon/atom.h')
-rw-r--r--drivers/gpu/drm/radeon/atom.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/atom.h b/drivers/gpu/drm/radeon/atom.h
index e6eb38f2bcae..6671848e5ea1 100644
--- a/drivers/gpu/drm/radeon/atom.h
+++ b/drivers/gpu/drm/radeon/atom.h
@@ -132,6 +132,7 @@ struct atom_context {
uint8_t shift;
int cs_equal, cs_above;
int io_mode;
+ uint32_t *scratch;
};
extern int atom_debug;
@@ -142,6 +143,7 @@ int atom_asic_init(struct atom_context *);
void atom_destroy(struct atom_context *);
void atom_parse_data_header(struct atom_context *ctx, int index, uint16_t *size, uint8_t *frev, uint8_t *crev, uint16_t *data_start);
void atom_parse_cmd_header(struct atom_context *ctx, int index, uint8_t *frev, uint8_t *crev);
+int atom_allocate_fb_scratch(struct atom_context *ctx);
#include "atom-types.h"
#include "atombios.h"
#include "ObjectID.h"