aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_mode.h
diff options
context:
space:
mode:
authorJason Wessel <jason.wessel@windriver.com>2010-10-13 15:09:44 -0400
committerDave Airlie <airlied@redhat.com>2010-10-19 00:13:33 -0400
commit21c74a8ea8b47eb6c3c621e36578f6e27f65c5c7 (patch)
treec87eb392764e4bf2e8fe435d7bd70ddad7f75202 /drivers/gpu/drm/radeon/radeon_mode.h
parent99231028ff713820829b798d056c08a584281c25 (diff)
drm, kdb, kms: Change mode_set_base_atomic() enter argument to be an enum
The enter argument as implemented by commit 413d45d3627 (drm, kdb, kms: Add an enter argument to mode_set_base_atomic() API) should be more descriptive as to what it does vs just passing 1 and 0 around. There is no runtime behavior change as a result of this patch. Reported-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Jason Wessel <jason.wessel@windriver.com> CC: David Airlie <airlied@linux.ie> CC: dri-devel@lists.freedesktop.org Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_mode.h')
-rw-r--r--drivers/gpu/drm/radeon/radeon_mode.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_mode.h b/drivers/gpu/drm/radeon/radeon_mode.h
index f99e12daa81d..61b9243db217 100644
--- a/drivers/gpu/drm/radeon/radeon_mode.h
+++ b/drivers/gpu/drm/radeon/radeon_mode.h
@@ -35,6 +35,7 @@
35#include <drm_edid.h> 35#include <drm_edid.h>
36#include <drm_dp_helper.h> 36#include <drm_dp_helper.h>
37#include <drm_fixed.h> 37#include <drm_fixed.h>
38#include <drm_crtc_helper.h>
38#include <linux/i2c.h> 39#include <linux/i2c.h>
39#include <linux/i2c-id.h> 40#include <linux/i2c-id.h>
40#include <linux/i2c-algo-bit.h> 41#include <linux/i2c-algo-bit.h>
@@ -526,7 +527,8 @@ extern int atombios_crtc_set_base(struct drm_crtc *crtc, int x, int y,
526 struct drm_framebuffer *old_fb); 527 struct drm_framebuffer *old_fb);
527extern int atombios_crtc_set_base_atomic(struct drm_crtc *crtc, 528extern int atombios_crtc_set_base_atomic(struct drm_crtc *crtc,
528 struct drm_framebuffer *fb, 529 struct drm_framebuffer *fb,
529 int x, int y, int enter); 530 int x, int y,
531 enum mode_set_atomic state);
530extern int atombios_crtc_mode_set(struct drm_crtc *crtc, 532extern int atombios_crtc_mode_set(struct drm_crtc *crtc,
531 struct drm_display_mode *mode, 533 struct drm_display_mode *mode,
532 struct drm_display_mode *adjusted_mode, 534 struct drm_display_mode *adjusted_mode,
@@ -538,7 +540,8 @@ extern int radeon_crtc_set_base(struct drm_crtc *crtc, int x, int y,
538 struct drm_framebuffer *old_fb); 540 struct drm_framebuffer *old_fb);
539extern int radeon_crtc_set_base_atomic(struct drm_crtc *crtc, 541extern int radeon_crtc_set_base_atomic(struct drm_crtc *crtc,
540 struct drm_framebuffer *fb, 542 struct drm_framebuffer *fb,
541 int x, int y, int enter); 543 int x, int y,
544 enum mode_set_atomic state);
542extern int radeon_crtc_do_set_base(struct drm_crtc *crtc, 545extern int radeon_crtc_do_set_base(struct drm_crtc *crtc,
543 struct drm_framebuffer *fb, 546 struct drm_framebuffer *fb,
544 int x, int y, int atomic); 547 int x, int y, int atomic);